sigtool/sign
Sudhi Herle 8ed3bff6db Cleaned up chunk header encoding during encrypt/decrypt.
* encrypted chunk header now encodes _only_ plain text length
* the AEAD tag length is implicitly added when reading/writing
* added better sanity checks for short blocks during decrypt
* io.ReadAtLeast() reports ErrUnexpectedEOF for less than a full chunk;
  use this signal correctly
* major version bump to denote header incompatibility
2020-01-29 16:47:14 +05:30
..
.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 Cleaned up chunk header encoding during encrypt/decrypt. 2020-01-29 16:47:14 +05:30
encrypt_test.go Cleaned up chunk header encoding during encrypt/decrypt. 2020-01-29 16:47:14 +05:30
hdr.pb.go First working version of encrypt/decrypt 2019-10-17 14:29:01 -07:00
hdr.proto First working version of encrypt/decrypt 2019-10-17 14:29:01 -07:00
LICENSE Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30
README.md Teach sigtool to use go modules; updated to use my fork of pflag. 2019-06-20 10:51:33 +05:30
sign.go Cleaned up chunk header encoding during encrypt/decrypt. 2020-01-29 16:47:14 +05:30
sign_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
ssh.go sigtool now supports openssh ed25519 public and private keys. 2019-11-05 21:42:25 +01:00
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