yds12 / guarakapa

Password manager for the terminal.
MIT License
3 stars 1 forks source link

Add command to check version of program used to generate the data file #12

Closed yds12 closed 2 years ago

yds12 commented 2 years ago

A command like:

$ kapa check <filename>

Should display the version of the program used to generate the data file <filename>. The version is already contained in the first 3 bytes of the file. Must first check if the file contains the signature (4 "magic" bytes after the version number), if not, version is less than 0.8.6 (when this versioning was introduced).