sigtool/sign
Sudhi Herle f343d45a8e Add sender authenticated message integrity; fixup KDF
- use HKDF for producing keys, nonces
- add running hmac of plaintext; sender-sign the hmac as trailer
- use header checksum as "salt" for data encryption keys, nonces
- generate explicit nonce for wrapping root keys for each recipient
  (previous impl had brittleness)
2022-11-13 11:53:00 -08:00
..
.gitignore Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30
doc.go Cleaned up chunk header encoding during encrypt/decrypt. 2020-01-29 16:47:14 +05:30
encrypt.go Add sender authenticated message integrity; fixup KDF 2022-11-13 11:53:00 -08:00
encrypt_test.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
errors.go Add sender authenticated message integrity; fixup KDF 2022-11-13 11:53:00 -08:00
keys.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
LICENSE Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30
rand.go Add sender authenticated message integrity; fixup KDF 2022-11-13 11:53:00 -08:00
README.md Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30
safefile.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
sign.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
sign_test.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
ssh.go Refactored the core signing & encryption library, teach sigtool to use safe I/O. 2022-04-29 21:36:39 +05:30
stream.go Closes #5 and #6 2022-04-27 08:54:44 +05:30
utils_test.go THIS IS A BREAKING CHANGE! Private Keys generated by previous versions won't work with this version. 2020-01-08 09:17:54 -08:00

GoDoc

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