Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-01-21 | openpgp: Avoid use of Cert::primary_key. | Justus Winter | |
2020-01-21 | openpgp: Implement Deref<Target = Key<..>> for KeyAmalgamation. | Justus Winter | |
2020-01-21 | openpgp: Avoid trivial uses of Cert::primary_key. | Justus Winter | |
2020-01-21 | openpgp: Remove Cert::direct_signatures() and friends. | Justus Winter | |
2020-01-21 | openpgp: Fix documentation. | Justus Winter | |
2020-01-21 | openpgp: Move KeyIter::primary to Cert::primary. | Neal H. Walfield | |
- KeyIter::primary is awkward: - It ignores filters. - It will return the primary key, even if the primary key has already been iterated over. | |||
2020-01-21 | openpgp: Rename Cert::primary to Cert::primary_key. | Neal H. Walfield | |
2020-01-21 | openpgp: Add Cert::key_handle. | Neal H. Walfield | |
2020-01-21 | openpgp: Change KeyIter to return KeyAmalgamations. | Neal H. Walfield | |
- Change KeyIter to return KeyAmalgamations instead of Keys. - Given a `KeyAmalgamation`, it is possible to turn it into a `ValidKeyAmalgamation`. This is not possible with a `Key`. - With a `KeyAmalgamation`, it is still possible to query things about the certificate. | |||
2020-01-21 | openpgp: Split KeyAmalgamation. | Neal H. Walfield | |
- Split `KeyAmalgamation` into `KeyAmalgamation` and `ValidKeyAmalgamation` where the former doesn't have a policy, but the latter does. | |||
2020-01-21 | openpgp: Improve documentation. | Neal H. Walfield | |
2020-01-21 | openpgp: Remove debugging artifacts. | Justus Winter | |
2020-01-21 | openpgp: Improve documentation. | Justus Winter | |
- Malformed subpackets are detected at parse time now. | |||
2020-01-21 | openpgp: Make the various keyflags() methods return an Option. | Justus Winter | |
- This signals the absence of a subpacket. - Likewise for features(), key_server_preferences(). | |||
2020-01-21 | openpgp: Improve docs. | Justus Winter | |
2020-01-21 | openpgp: Make Cert::primary_key_signature_full private. | Justus Winter | |
2020-01-21 | openpgp: Reduce use of Cert::primary_key_signature. | Justus Winter | |
2020-01-21 | openpgp: Removed unused indices. | Justus Winter | |
2020-01-21 | openpgp: Make KeyIter::primary act like KeyIter::nth(0). | Neal H. Walfield | |
- This function should be equivalent to `Cert::keys().valid(time).nth(0)`. - Remove the undocumented, additional restriction from `KeyIter::primary` that the key be alive. | |||
2020-01-21 | openpgp: Synchronize the key_flags API. | Neal H. Walfield | |
- Since `SubpacketArea::key_flags` is infallible, `KeyAmalgamation::key_flags` should also be infallible. | |||
2020-01-21 | openpgp: Enforce that KeyAmalgamations have a binding signature. | Neal H. Walfield | |
- ValidKeyIter enforces that KeyAmalgamations have a valid binding signature. - Enforce this constraint when constructing a KeyAmalgamation and when modifying a KeyAmalgamation's policy. | |||
2020-01-20 | openpgp: Rename ComponentIter::components to bindings. | Neal H. Walfield | |
- `ComponentIter::components` returns `ComponentBindings`. It is more accurate to call it `ComponentIter::component_bindings`. But, since it is called on a component, just use the shorter name, `ComponentIter::bindings`. | |||
2020-01-20 | openpgp: Rename ComponentAmalgamation::component_binding. | Justus Winter | |
2020-01-20 | openpgp: Remove Cert::primary_userid_full. | Justus Winter | |
2020-01-20 | openpgp: Rename {Key,Component}Amalgamation::component. | Justus Winter | |
2020-01-20 | openpgp: Remove Cert::primary_userid. | Justus Winter | |
2020-01-20 | openpgp: Improve documentation. | Justus Winter | |
2020-01-20 | openpgp: Restructure KeyAmalgamation. | Neal H. Walfield | |
- Reduce redundancy by restructuring KeyAmalgamation to reduce redundancy. - Put the `cert` and `time` fields in the top-level `struct`; they are independent of whether the amalgamation is for a primary key binding or a subkey binding. - Don't carry a reference to the primary key binding: it is unambiguous given the certificate. | |||
2020-01-20 | openpgp: Use the new framework for Cert::userid. | Justus Winter | |
- Fixes #414. | |||
2020-01-20 | openpgp: Don't sleep. | Justus Winter | |
- Don't even blink. | |||
2020-01-20 | openpgp: New lookup interface for user attributes. | Justus Winter | |
- Makes Cert::user_attributes behave like Cert::keys. By default, naked &UserAttributes are returned. ComponentIter::policy(t) changes the iterator to return the new ComponentAmalgamation type. Finally, ComponentIter::components() returns all component bindings like Cert::user_attributes() used to do. - The same abstractions can be used for Cert::userids later. - See #414. | |||
2020-01-20 | openpgp: Add new type ComponentAmalgamation. | Justus Winter | |
2020-01-20 | openpgp: New module cert::components. | Justus Winter | |
2020-01-20 | openpgp: Improve documentation. | Neal H. Walfield | |
- Improve the documentation for the streaming verifier's API. | |||
2020-01-20 | openpgp: Don't implement From<KeyHandle> for String explicitly. | Neal H. Walfield | |
- `From<T> for String` is implemented implicitly if `Display` is implemented, which is the case for KeyHandle. | |||
2020-01-18 | openpgp: Typo. | Justus Winter | |
2020-01-18 | openpgp: Add KeyIter::primary. | Justus Winter | |
- See #414. | |||
2020-01-18 | openpgp: Introduce private helper to reduce public constraints. | Justus Winter | |
2020-01-18 | openpgp: Add KeyIter::{components,subkeys}, make subkeys() private. | Justus Winter | |
- See #414. | |||
2020-01-18 | openpgp: Make utility macro name less generic. | Justus Winter | |
2020-01-18 | openpgp: Avoid allocation. | Justus Winter | |
2020-01-18 | openpgp: Use Cert::keys instead of Cert::subkeys. | Justus Winter | |
2020-01-18 | openpgp: Add KeyAmalgamation::component. | Justus Winter | |
2020-01-18 | openpgp: Add a conversion from KeyHandle to String. | Neal H. Walfield | |
- Add a function to convert a KeyHandle to a String like there are functions to convert a Fingerprint and a KeyID to a String. | |||
2020-01-17 | openpgp: Allow the caller to determine a signature's creation time. | Neal H. Walfield | |
- Add Signer::creation_time so that a user of a Signer object can determine the signature's creation time. | |||
2020-01-17 | openpgp: Improve the MessageLayer documentation. | Justus Winter | |
- Fixes #411. | |||
2020-01-17 | openpgp: Make MessageStructureIntoIter private. | Justus Winter | |
2020-01-16 | openpgp: Return Result<()> from Signature::verify*. | Justus Winter | |
2020-01-16 | openpgp: Remove variant VerificationResult::BadChecksum. | Justus Winter | |
- This is better expressed as an error. | |||
2020-01-16 | openpgp: Rework Decryptor::verify_signatures like Verifier. | Justus Winter | |