Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2019-05-09 | openpgp-ffi: Fix comment | Neal H. Walfield | |
2019-05-09 | openpgp-ffi: Add some bindings for TPKParser | Neal H. Walfield | |
2019-05-08 | openpgp-ffi: Fix indentation | Neal H. Walfield | |
2019-05-08 | openpgp-ffi: Use extern "C", not extern "system" | Neal H. Walfield | |
2019-05-08 | openpgp: Typo. | Justus Winter | |
2019-05-08 | openpgp-ffi: Add functions to instantiate UserIDs | Neal H. Walfield | |
- Add pgp_user_id_new to instantiate from a c string. - Add pgp_user_id_from_raw to instantiate from a not-NUL-terminated buffer. | |||
2019-05-08 | openpgp: Add a conversion from &[u8] to UserID | Neal H. Walfield | |
- User IDs don't need to be UTF-8 and at the lowest level we don't assume that they are. | |||
2019-05-08 | Improve build instructions. | Justus Winter | |
2019-05-08 | openpgp-ffi: Deal with name-mangling, 2nd try. | Justus Winter | |
- Apparently, some platforms use name mangling to differentiate calling conventions. Deal with that in `make check-headers`. - Fixes 8ed5842580a1c172fc8d5ebe5d0444ee5e011a01. | |||
2019-05-08 | openpgp: Remove unused import. | Justus Winter | |
2019-05-07 | openpgp-ffi, ffi: Reword. | Justus Winter | |
2019-05-07 | openpgp-ffi, ffi: Improve 6911aed9. | Justus Winter | |
- To preserve location information, replace the include. | |||
2019-05-07 | openpgp-ffi: Deal with name-mangling. | Justus Winter | |
- Apparently, some platforms use name mangling to differentiate calling conventions. Deal with that in `make check-headers`. | |||
2019-05-07 | openpgp-ffi, ffi: Fix calling convention on Windows. | Justus Winter | |
- Use `extern "C"` instead of `extern "system"`. The latter selects stdcall, which is only appropriate for talking to the Windows API. | |||
2019-05-07 | openpgp: Remove {Subkey,UserID}Binding::new(). | Justus Winter | |
- These functions are quite unflexible, and are therefore quite opinionated. Nowadays, we have a more flexible way of adding components to a TPK. - Fixes #175. | |||
2019-05-07 | openpgp-ffi: Remove '#include <error.h>' from doctests. | Justus Winter | |
2019-05-07 | Update Cargo.lock. | Justus Winter | |
2019-05-07 | openpgp, net: Improve panic messages. | Justus Winter | |
2019-05-07 | openpgp-ffi: Fix return type | Neal H. Walfield | |
- pgp_tpk_builder_generate returns a pgp_status_t, not a pgp_tpk_t. | |||
2019-05-07 | openpgp-ffi: Wrap TPKBuilder::general_purpose | Neal H. Walfield | |
2019-05-07 | openpgp: Add a method to TPKBuilder to create a general-purpose key | Neal H. Walfield | |
- Add a convenience method to TPKBuilder to create a typical, general-purpose key, i.e., one with a certification- and signing-capable primary key, and an encryption-capable subkey. | |||
2019-05-07 | openpgp-ffi: Fix C interface. | Neal H. Walfield | |
- pgp_tpk_builder_autocrypt takes an optional string. Reflect this in the C declaration. | |||
2019-05-07 | openpgp-ffi: Add missing values to pgp_tpk_cipher_suite_t | Neal H. Walfield | |
2019-05-07 | openpgp-ffi: Fix int to cipher suite conversion | Neal H. Walfield | |
- Factor out the code so it can be used elsewhere. - Map all CipherSuites. | |||
2019-05-07 | openpgp: Add a Default implementation for CipherSuite | Neal H. Walfield | |
2019-05-07 | openpgp: Rename TPKBuilder::default to TPKBuilder::new | Neal H. Walfield | |
- One would think that TPKBuilder::default would return something filled with useful defaults, but it just returns a nearly empty builder. Rename it to TPKBuilder::new, which is less misleading. | |||
2019-05-07 | Typo | Neal H. Walfield | |
2019-05-07 | openpgp-ffi: Add a function to convert a Status to a string | Neal H. Walfield | |
2019-05-07 | openpgp-ffi: Add functions to extract the various parts of a User ID | Neal H. Walfield | |
- Add pgp_user_id_name, pgp_user_id_comment, pgp_user_id_address, and pgp_user_id_address_normalized. | |||
2019-05-07 | openpgp: Add email address normalization | Neal H. Walfield | |
- Provide a function to return a normalized email address, which is appropriate when comparing email addresses for equality. | |||
2019-05-07 | openpgp: Fix comment | Neal H. Walfield | |
2019-05-03 | Update Cargo.lock. | Justus Winter | |
2019-05-03 | openpgp: Account for every octet in the size calculation. | Justus Winter | |
2019-05-03 | openpgp: Improve test to also SerializeInto. | Justus Winter | |
2019-05-03 | openpgp: Implement SerializeInto for TPK, TSK. | Justus Winter | |
2019-05-03 | openpgp: Implement and use trait NetLength. | Justus Winter | |
- Implement NetLength for all the packets that previously didn't implement it, and use it do compute the serialized length. | |||
2019-05-03 | openpgp: Optimize generic_serialize_into. | Justus Winter | |
- Assume that the object will fit into the buffer, and return the appropriate error on short writes. - Add test demonstrating this behavior. | |||
2019-05-03 | openpgp: Move TPK/TSK serialization code to mod serialize. | Justus Winter | |
2019-05-03 | ipc: New crate. | Justus Winter | |
2019-05-03 | openpgp: Improve base64 decoding | Neal H. Walfield | |
- Change get_base64_prefix to really only return valid base64 data. - Simplify is_armored_pgp_blob to exploit this assumption. | |||
2019-05-03 | openpgp: Use assert_eq! instead of assert! when asserting equality | Neal H. Walfield | |
2019-05-03 | openpgp: More efficiently identify valid ASCII-armor | Neal H. Walfield | |
- Don't decode base64 data that definitely can't possibly contain a valid OpenPGP message. | |||
2019-05-03 | buffered-reader: Add convenience functions to drop some data | Neal H. Walfield | |
- Add convenience methods to the BufferReader trait to drop data until some byte is encountered (BufferedReader::drop_until and BufferedReader::drop_through). | |||
2019-04-30 | openpgp: Avoid monomorphization of serializaton functions. | Justus Winter | |
- Change the function signature to take a mut reference to a trait object instead. This trades the cost of a dynamic dispatch for executable size. The results are modest, but a step in the right direction. On my system, libsequoia_openpgp_ffi.so in release mode shrunk by 2.2% (61440 bytes) after stripping. - Fixes #250. | |||
2019-04-30 | rfc2822: Improve documentation | Neal H. Walfield | |
2019-04-30 | rfc2822: Improve comments | Neal H. Walfield | |
2019-04-29 | rfc2822: Use quickcheck. Fix edge cases. | Neal H. Walfield | |
- Use quickcheck to test the parser. - To fix a number of edge cases that it uncovered, don't discard Component::WS, and compress them in components_merge more carefully intelligently. - Update the test vectors, and fix the edge cases. |