opencoff / sigtool

Ed25519 signing, verification and encryption, decryption for arbitary files; like OpenBSD signifiy but with more functionality and written in Golang - only easier and simpler
GNU General Public License v2.0
84 stars 15 forks source link

Do not require a authorized keys file for encryption #7

Closed uli-heller closed 2 years ago

uli-heller commented 2 years ago

Without this change, I'm getting errors like these:

$ LANG=C ./sigtool encrypt ~/.ssh/uli-ed25519 -o /tmp/a /tmp/uli
./sigtool: can't open /home/uli/.ssh/authorized_keys: open /home/uli/.ssh/authorized_keys: no such file or directory

Please merge! ;)

opencoff commented 2 years ago

Fixed in HEAD - also contains other cleanups. Thanks for pointing out the mistake.