I've seen .sha256 files for software such as:
this_is_a_fake_sha256_hash_of_64_characters file_name.exe
Or:
this_is_a_fake_sha256_hash_of_64_characters *file_name.exe
Or:
this_is_a_fake_sha256_hash_of_64_characters file_name.exe*
I know that Unix/Linux has a weird concept of outputting filenames with an asterisk in the end to mean "this is executable". Alright, so I guess that explains that. However, I have been utterly unable to find a single mention anywhere of what it means when the asterisk is in the beginning of the filename.
Also, even if somebody will answer here and tell me why it's sometimes in the beginning instead of the end, I still wonder why you'd confusingly include these asterisks in this "hash format". After all, this is NOT a local file list output, but a file format for verifying file hashes for distributed binaries. Why would you ever include anything but the actual filename in such a context? Just to cause problems when people don't realize that they need to remove those asterisks from both the beginning and the end of the actual filename?
Not every such .sha256 file uses asterisks at all. Some do and some don't. Some have it in the beginning and some in the end.
In my parser, I simply strip both, but it bothers me that I don't understand why this is done or what it means.