* Added new SafeFile (io.WriteCloser) class + methods to atomically write a file. * Teach core lib to use SafeFile for all file I/O * Teach sigtool to use SafeFile for all file I/O * Cleaned up the public interfaces of sign/ to be more coherent: - with uniform APIs for marshaling, unmarshaling, serialization. - removed KeyPair class/interface and stick to PrivateKey as the primary interface. * collected common rand utility functions into rand.go * Teach sigtool to NOT overwrite existing output files (keys, signatures etc.) * Teach sigtool to use a new --overwrite option for every command that creates files (generate, sign, encrypt, decrypt) * encrypt/decrypt will try to use the input file mode/perm where possible (unless input is stdin). * Added more tests |
||
---|---|---|
.. | ||
.gitignore | ||
doc.go | ||
encrypt.go | ||
encrypt_test.go | ||
errors.go | ||
keys.go | ||
LICENSE | ||
rand.go | ||
README.md | ||
safefile.go | ||
sign.go | ||
sign_test.go | ||
ssh.go | ||
stream.go | ||
utils_test.go |
sigtool/sign - Ed25519 signature calculation and verification
This is a small library that makes it easier to create and serialize Ed25519 keys, and sign, verify files using those keys. The library uses mmap(2) to read and process very large files.
The companion program sigtool uses this library.
License
GPL v2.0