summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-03-28openpgp: Rename methods related to symmetric algorithms.Justus Winter
- Fixes #223.
2019-03-27Fix syntax-highlighting of C snippets in local documentation.Justus Winter
2019-03-27Remove deploy-doc target.Justus Winter
- docs.sequoia-pgp.org is now handled by https://gitlab.com/sequoia-pgp/docs.sequoia-pgp.org. - Fixes #232.
2019-03-27openpgp: Move fingerprint calculation.Justus Winter
- Fixes #230.
2019-03-27openpgp: Move test file.Justus Winter
2019-03-26openpgp: Add enum Key.Justus Winter
- Fixes #228.
2019-03-26openpgp: Add enum PKESK.Justus Winter
- See #228.
2019-03-26openpgp: Add enum SEIP.Justus Winter
- See #228.
2019-03-26openpgp: Add enum OnePassSig.Justus Winter
- See #228.
2019-03-26openpgp: Add enum Signature.Justus Winter
- See #228.
2019-03-26openpgp: Add enum AED.Justus Winter
- See #228.
2019-03-26openpgp: Introduce explicit packet versions, move enum SKESK.Justus Winter
- This patch makes packet::skesk public, exports the SKESK4 and SKESK5 type there, and moves the SKESK enum to packet. - This is a clean and faithful way to represent packet versions. It allows us to cleanly support future versions, and offer partial support for older versions. Parsing and understanding old versions allows Sequoia to be used to access archived information. - This is the first of a series of patches that introduces explicit packet versions for all packet types in the form of enums like the SKESK enum. - See #228.
2019-03-26openpgp: Add openpgp::packet::prelude.Justus Winter
2019-03-26openpgp: Move Header::plausible to the header module, improve itNeal H. Walfield
- Rename Header::plausible to Header::valid. - Tighten the validity checks. - Add a future_compatible option that makes unknown packets valid.
2019-03-26openpgp: Add a new predicate: whether a Packet can start a messageNeal H. Walfield
2019-03-26openpgp: Move Header to its own moduleNeal H. Walfield
2019-03-26openpgp: Move destructures_to macro to macros.rsNeal H. Walfield
2019-03-26tool: Read passwords from the tty.Justus Winter
- Fixes #24.
2019-03-25tool: Dump session keys.Justus Winter
2019-03-25openpgp: Rework the DecryptionHelper trait.Justus Winter
- Simplify the protocol by removing the iteration. Instead, the callee gets a proxy for PacketParser::decrypt() that she can use to decrypt the message. If successful, the session key can be cached without involving the DecryptionHelper trait. This also allows us to dump session keys. - Fixes #219.
2019-03-25openpgp-ffi: Wrap crypto::SessionKey and crypto::Password.Justus Winter
2019-03-25openpgp-ffi: Rename type.Justus Winter
2019-03-25openpgp-ffi: Rename types.Justus Winter
- Fixes e3cb52fede1872f93371677224201228a62ae6ce.
2019-03-25openpgp-ffi: Implement From<Fallible<T>> for Status.Justus Winter
2019-03-25ffi-macros: Implement MoveFromRaw<Option<W>>.Justus Winter
2019-03-25openpgp: New constructors for SessionKey and Password.Justus Winter
2019-03-25Improve README.Justus Winter
2019-03-25tool: Use the new API.Justus Winter
2019-03-25openpgp: Add a public API for hex conversions.Justus Winter
2019-03-25openpgp: Implement AsRef<[u8]> for SessionKey and Password.Justus Winter
2019-03-22Fix build on macOS.Justus Winter
- Use GNU install, use the correct extension for dynamic libraries. - Fixes #226.
2019-03-22openpgp-ffi: Replace glibc's error function.Justus Winter
- To make the tests and examples more portable, provide our own roughly compatible replacement for glibc's error(3).
2019-03-22openpgp-ffi: Add convenience functions to work with pgp_reader_t:s.Neal H. Walfield
- pgp_reader_copy: Copy up to n bytes from a reader to a writer. - pgp_reader_discard: Read to EOF and discard everything that is read.
2019-03-22openpgp, core: Return old value in setters.Justus Winter
- Fixes #147.
2019-03-22ffi-macros: Bump nettle to 0.5.Justus Winter
- Fixes 56de1bf60a8f5c6b2706dca37876aadc1c1b9ac4.
2019-03-21openpgp: Rename `UserID::userid()` to `value()`.Justus Winter
- Fixes #224.
2019-03-21openpgp: Remove UserID::new() and the mutators.Justus Winter
- I don't see a reason to mutate userids.
2019-03-21tool: Dump user attribute subpackets.Justus Winter
2019-03-21openpgp: Rename UserAttribute's accessors.Justus Winter
- See #224.
2019-03-21openpgp: Simplify User{ID,Attribute}::arbitrary().Justus Winter
2019-03-21openpgp: Drop nonsensical constructor.Justus Winter
- UserAttribute packets contain subpackets, not strings.
2019-03-21openpgp-ffi: Use crate for futimes fiddling.Justus Winter
- The previous solution of using libc::futimes turned out to be not portable because different platforms have differently sized timestamps. Use a crate for that instead. - Also, bring ffi's c-tests up-to-speed. - Fixes #225.
2019-03-21openpgp-ffi: Reify the verification wrapper.Justus Winter
- See #154.
2019-03-21openpgp-ffi: Fix memory leak.Justus Winter
2019-03-21openpgp-ffi: Reify the decryption wrapper.Justus Winter
- See #154.
2019-03-21openpgp-ffi: Allow passing 0 to select the default algorithmNeal H. Walfield
- 01db33b and 97cdc30 changed the Encryption::new and Signer::new APIs to optionally provide the algorithm to use for encryption and hashing. Also make it optional in the C API by recognizing 0 as meaning the default algorithm.
2019-03-20openpgp-ffi: Add test.Justus Winter
2019-03-20openpgp-ffi: Fix linkage.Justus Winter
2019-03-20openpgp-ffi: Simplify c-test.Justus Winter
- Use the line number instead of a hash. This makes it simpler, but also easier to locate the test in the source file.
2019-03-20openpgp-ffi: Move the decryption and verification code.Justus Winter