Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-05-17 | openpgp-ffi: Typo. | Justus Winter | |
2019-05-17 | Spelling. | Neal H. Walfield | |
2019-05-17 | openpgp-ffi: Fix documentation. | Neal H. Walfield | |
- The documentation for pgp_tpk_key_iter_all and pgp_tpk_key_iter_valid was backwards. | |||
2019-05-17 | rfc2822: Fix debug output to work with multi-byte characters | Neal H. Walfield | |
- Change the error handler for the tests to work with multi-byte characters. | |||
2019-05-16 | ffi-macros: Generate function prototypes for C. | Justus Winter | |
2019-05-15 | openpgp: Add an interface to TPKBuilder to set the expiration time | Neal H. Walfield | |
- Add TPKBuilder::set_expiration to allow the caller to control the expiration time. | |||
2019-05-15 | openpgp-ffi: Add some bindings for Literal data packets | Neal H. Walfield | |
2019-05-15 | openpgp-ffi: Expose the inspect callback in the C API | Neal H. Walfield | |
- DecryptionHelper has a default NULL implementation of the inspect callback. Allow C code to override it by exposing it in the pgp_decryptor_new API. | |||
2019-05-15 | core, store, tool: Use realm instead of domain. | Justus Winter | |
- Remove the domain parameter from core::Context. - Replace it with a realm to be passed in when opening a store. - For sq, merge store name and realm into the --store parameter. - Fixes #105. | |||
2019-05-15 | tool: Fix test. | Justus Winter | |
2019-05-15 | openpgp: Support generating 2k RSA keys | Neal H. Walfield | |
2019-05-15 | ci: Tar the cache to efficiently handle hard links. | Justus Winter | |
- GitLab uses zip to cache build artifacts. Zip, however, does not preserve hard links, leading to unnecessary inflation of archive size and CPU time spent on compression. - See https://gitlab.com/gitlab-org/gitlab-ce/issues/37444 | |||
2019-05-15 | ci: Don't cache Cargo.lock, that is checked in now. | Justus Winter | |
2019-05-14 | openpgp: Clean up test data handling. | Justus Winter | |
- Use the new framework instead of including the files everywhere. | |||
2019-05-14 | ci: Clean our crates before the cache is prepared. | Justus Winter | |
- On the assumption that our dependencies change rarely (we pin them by having our Cargo.lock checked in), and that recompiling them takes longer than using the cache, we keep our dependencies cached, but drop any artifacts related to Sequoia. - Hopefully addresses #194. | |||
2019-05-14 | openpgp: Add a filesystem-like framework for test data. | Justus Winter | |
- Fixes #267. | |||
2019-05-14 | openpgp, openpgp-ffi: Normalize TPK::revoked() | Neal H. Walfield | |
- `TPK::revoked` returns a revocation status, not a boolean. Rename it to `TPK::revocation_status()`, like it is called in the FFI. - Like other methods, provide a `foo_at()` method and a `foo()` method. | |||
2019-05-13 | openpgp-ffi, ffi: Improve c-tests.rs. | Justus Winter | |
- Use failure, improve error message when invoking make fails. | |||
2019-05-13 | core, ipc: Defer the creation of the home directory. | Justus Winter | |
- Fixes #271. | |||
2019-05-13 | openpgp: Include all the test data. | Justus Winter | |
- Fixes #267. | |||
2019-05-13 | openpgp: New module containing the test data. | Justus Winter | |
2019-05-13 | openpgp: Fix worst-case estimate of compressed data size. | Justus Winter | |
- For short messages where the signature size dominates, compression algorithms may inflate the message size considerably. | |||
2019-05-13 | openpgp: Typo. | Justus Winter | |
2019-05-13 | openpgp-ffi: Only include unistd.h when needed | Neal H. Walfield | |
- sequoia/openpgp.h doesn't require <unistd.h> so don't include it there. - Several examples do need <unistd.h> for STDIN_FILENO. So, include it locally. - Note: <unistd.h> is not available on Windows. This change makes <sequoia/openpgp.h> work there. (Although the examples now fail.) | |||
2019-05-13 | openpgp-ffi: Use the C ABI, not the system ABI | Neal H. Walfield | |
Reported-by: Thomas Muenz | |||
2019-05-11 | openpgp: Allow trust packets in TPKs | Neal H. Walfield | |
- Change the KeyringValidator to allow trust packets anywhere a signature packet is allowed. - This is needed to parse GnuPG Keyrings. | |||
2019-05-11 | openpgp: Include the packet's position in the TPKValidator error | Neal H. Walfield | |
- To ease debugging, include the path of the packet that caused the parse error. | |||
2019-05-11 | openpgp: Include the path in the MessageValidator error | Neal H. Walfield | |
- To ease debugging, include the path of the packet that caused the parse error. | |||
2019-05-11 | openpgp: Make error message more accurate | Neal H. Walfield | |
- A TPK is not a message in our terminology. | |||
2019-05-11 | tool: Make sq inspect fail more verbosely | Neal H. Walfield | |
- If sq inspect doesn't recognize the packet sequence, then have it print the parse errors. | |||
2019-05-11 | tool: Fix hint | Neal H. Walfield | |
- 'sq dump' was renamed to 'sq packet dump', but this reference was not updated. | |||
2019-05-11 | openpgp: Make {is,possible}_{message,keyring,tpk} return a Result | Neal H. Walfield | |
- PacketParserEOF::is_message, PacketParserEOF::is_keyring, PacketParserEOF::is_tpk, PacketParserResult::possible_message, PacketParserResult::possible_keyring, and PacketParserResult::possible_tpk returned a boolean. - Change them to return a Result<()> instead, which is more Rusty, and, in particular, allows the caller to determine why the message didn't parse. | |||
2019-05-10 | Release 0.7.0.v0.7.0 | Justus Winter | |
2019-05-10 | Improve release checklist. | Justus Winter | |
2019-05-10 | openpgp: Add a notation data interface. | Justus Winter | |
- Fixes #122. | |||
2019-05-10 | openpgp: Add constructor for NotationData. | Justus Winter | |
2019-05-10 | openpgp: Implement {Into,From}Iterator for SubpacketArea. | Justus Winter | |
- This way we can .collect() into a SubpacketArea. | |||
2019-05-10 | openpgp: New type for the flags of notation data subpackets. | Justus Winter | |
2019-05-10 | openpgp: Fix documentation. | Justus Winter | |
2019-05-10 | openpgp: Add a new parsing mode to the Armor Reader | Neal H. Walfield | |
- Add a strict "mode" to the armor reader that requires an armor header line, but doesn't care what the header is. - Closes issue #254. | |||
2019-05-10 | openpgp: Add some context to errors | Neal H. Walfield | |
2019-05-10 | openpgp-ffi: Use new-style unwrapping for packets | Neal H. Walfield | |
- pgp_tpk_merge_packets was still using old-style unwrapping for the array of Packets although Packets now use new-style wrapping. - Likewise pgp_signature_into_packet. | |||
2019-05-10 | Fix typo. | Neal H. Walfield | |
2019-05-09 | openpgp: Fix formatting. | Justus Winter | |
2019-05-09 | openpgp: Fix documentation. | Justus Winter | |
- Fixes 0ac9db8b1e039b498169d63fcb01cbd11ee204ec. - Fixes #177. | |||
2019-05-09 | openpgp: Typo. | Justus Winter | |
2019-05-09 | openpgp: Communicate message structure from the decryptor. | Justus Winter | |
- Fixes #100. | |||
2019-05-09 | ffi-macros: Derive Iterator. | Justus Winter | |
2019-05-09 | ffi-macros: Support arguments for derived implementations. | Justus Winter | |
2019-05-09 | openpgp-ffi: Wrap RevocationStatus. | Justus Winter | |