summaryrefslogtreecommitdiffstats
path: root/ffi
AgeCommit message (Collapse)Author
2018-12-17openpgp: Change KeyIter to also return the RevocationStatus.Neal H. Walfield
- A Key's revocation status is a property of its binding, but the binding is not exposed by KeyIter. Expose it.
2018-12-17ffi: Avoid inline function.Justus Winter
- Inline functions make python-cffi choke on the header file.
2018-12-14openpgp: Introduce trait Parse.Justus Winter
- Trait Parse introduces a uniform interface to parse packets, messages, keys, and related data structures.
2018-12-12openpgp: Move SecretKey to packet::key.Justus Winter
2018-11-27Fix the gitlab badges.Justus Winter
2018-11-26Release 0.2.0.v0.2.0Justus Winter
2018-11-26ffi: Add new error code.Neal H. Walfield
2018-11-26ffi: Avoid NULL pointer dereference.Neal H. Walfield
- The callback can fail to return the secret. Fail gracefully.
2018-11-26ffi: Fix installation.Justus Winter
2018-11-24Rename the openpgp crate to sequoia-openpgp.Justus Winter
2018-11-24Fix mail address.Justus Winter
2018-11-24Make cargo package happy.Justus Winter
2018-11-24Update packaging metadata in preparation for a release.Justus Winter
2018-11-22Fix typos.Neal H. Walfield
2018-11-22ffi: Fix sq_tsk_new's signature.Neal H. Walfield
2018-11-22ffi: Add a convenience function to convert a tag to a string.Neal H. Walfield
- sq_tag_to_string.
2018-11-22ffi: Wrap PacketParserEOF::is_message.Neal H. Walfield
- Add sq_packet_parser_eof_is_message.
2018-11-22ffi: Wrap the Decrypt and Verifier interfaces.Neal H. Walfield
2018-11-22ffi: Derive PartialEq and Debug for Status.Neal H. Walfield
2018-11-22ffi: Wrap PKESK::Recipient.Neal H. Walfield
- Add sq_pkesk_recipient.
2018-11-22ffi: Wrap PKESK::decrypt.Neal H. Walfield
- Add sq_pkesk_decrypt.
2018-11-22ffi: Wrap Secret.Neal H. Walfield
2018-11-22ffi: Provide an interface to iterate over Keys in a TPK.Neal H. Walfield
- Add sq_tpk_key_iter, sq_tpk_key_iter_free, and sq_tpk_key_iter_next.
2018-11-22ffi: Wrap tpk::UserIDBinding.Neal H. Walfield
- Add sq_user_id_binding_user_id to return the value of the UserID from a UserIDBinding. - Export an interface to iterate over UserIDBindings, sq_tpk_user_id_binding_iter, fn sq_user_id_binding_iter_free, sq_user_id_binding_iter_next.
2018-11-22ffi: Wrap TPK.Neal H. Walfield
- In particular, add sq_tpk_primary, sq_tpk_revocation_status, sq_tpk_revoke, sq_tpk_revoke_in_place, sq_tpk_expired, sq_tpk_set_expiry, and sq_tpk_is_tsk.
2018-11-22ffi: Provide an interface to convert a tsk into a tpk.Neal H. Walfield
2018-11-22ffi: Fix argument types.Neal H. Walfield
- sq_p_key_fingerprint and sq_p_key_keyid take a packet::Key, not a Packet.
2018-11-22ffi: Wrap Key::creation_time.Neal H. Walfield
2018-11-22ffi: Wrap some of Signature's methods.Neal H. Walfield
2018-11-22ffi: Wrap RevocationStatus.Neal H. Walfield
2018-11-22ffi: Wrap Pool::lookup_by_keyid and Pool::lookup_by_subkeyid.Neal H. Walfield
2018-11-22ffi: Add sq_writer_stack_write_all.Neal H. Walfield
2018-11-21openpgp: switch to nettle 2.0Kai Michaelis
2018-11-07ffi: fix examplesKai Michaelis
The FFI API changed.
2018-11-06Use nettle 1.0Kai Michaelis
2018-11-02openpgp: Create revocation certificates for TPKs.Justus Winter
- Fixes #95.
2018-11-02openpgp: Move the packet type definitions around.Justus Winter
2018-10-23openpgp: Move the Password type to openpgp::crypto.Justus Winter
2018-10-17openpgp: Remove unused errors.Justus Winter
- If an algorithm (or tag) is unknown, this is not an error in Sequoia. If we do not support an algorithm (or tag), or choose not to support it, we return the unsupported algorithm (or tag) error.
2018-10-16openpgp: Improve the streaming writer API.Justus Winter
- Also, improve documentation and doctests.
2018-10-09openpgp: Add error for unsupported AEAD algorithms.Justus Winter
2018-10-09openpgp: Don't return the depth from PacketParser::{next,recurse}Neal H. Walfield
- Change PacketParser::next and PacketParser::recurse to not return the packets' depths. Instead, require the caller to query them using accessor functions, if they are needed (they usually aren't).
2018-10-09openpgp: Drop redundant recursive_depth field.Neal H. Walfield
- The packet parser's recursive depth can be computed from the path, which we now track. As such, don't track the recursive depth separately, just derive it from the path.
2018-09-28openpgp: Introduce and use a type holding passwords.Justus Winter
- Fixes #108.
2018-09-28openpgp: Add and use a type holding session keys.Justus Winter
2018-09-28openpgp,ffi: Add an error indicating a message has been manipulated.Justus Winter
2018-09-28ffi: Update error.h.Justus Winter
2018-09-10ffi: Provide an FFI to work with sq_packet_parser_result_t's.Neal H. Walfield
- 4486871 added the sq_packet_parser_result_t to the FFI and fixed sq_packet_parser_from_reader, etc. to return it instead of a sq_packet_parser_t. That change didn't provide any methods for working with sq_packet_parser_result_t's, and it made ffi/examples/parser.c no longer compile (although parser.c no longer worked since we changed the PacketParser code to work with PacketParserResults's in c9ee0ac). - Add sq_packet_parser_result_packet_parser, sq_packet_parser_result_eof, and sq_packet_parser_result_free to be able to work with sq_packet_parser_result_t's. - Fix parser.c so that it not only compiles, but also works again.
2018-09-10ffi: Use -Werror when compiling examples.Neal H. Walfield
2018-09-08Change Makefiles to support CARGO_TARGET_DIR.Neal H. Walfield
- Also use 'cargo clean' instead of 'rm -rf $(CARGO_TARGET_DIR)' in case $(CARGO_TARGET_DIR) is incorrectly set.