Age | Commit message (Collapse) | Author |
|
|
|
This reverts commit 2e1eec5fe4157a391a13554ff7df3075cfe043cc.
|
|
- It's a bundle, not a binding.
|
|
- Fixes #484.
|
|
- See #484.
|
|
- See #484.
|
|
- Methods on Cert should not take a policy. Instead, the
corresponding method on ValidCert should be used.
- See #484.
|
|
|
|
- Add doctest example to PacketPile.
- Add doctest example to `PacketPile::path_ref`.
- Add doctest example to `PacketPile::path_ref_mut`.
- Add doctest example to `PacketPile::descendants`.
- Add doctest example to `PacketPile::children`.
- Add doctest example to `PacketPile::into_children`.
- Fixes #467.
|
|
- Fixes #478.
|
|
|
|
- We don't throw away components with no (valid) self signatures.
- Add a test demonstrating this.
- Correct the documentation.
|
|
- Thanks to Justus and Wiktor for pointing them out.
|
|
- To extend the primary key's validity, create a direct key
signature as well as a new binding signature for every userid.
- Since all new binding signatures have the same creation time, make
the choice of primary userid explicit.
- Fixes #479.
|
|
- See #466.
|
|
|
|
- Make `cert::amalgamation::key` a public module.
- Move `cert::amalgamation::keyiter` to
`cert::amalgamation::key::iter`. Have `cert::amalgamation::key`
export its public symbols.
|
|
- This avoids the partial implementation imitating
std::option::Option, replacing it with std::result::Result.
- As a benefit, std::result::Result is in the prelude, simplifying a
lot of parsing loops.
|
|
|
|
- Writers should be finalized, builders should be built.
|
|
|
|
- Rename to DEFAULT_MAX_RECURSION_DEPTH to better reflect the fact
that it is not a absolute maximum, but only the default. Make it
public so that the documentation can refer to that.
|
|
|
|
|
|
|
|
|
|
- `decrypted` implies that the packet was previously encrypted.
However, If we parse a signed-only message, the literal packet was
never encrypted. Provide the inverse predicate instead, which is
less misleading.
|
|
|
|
|
|
|
|
|
|
|
|
- Change `mark_role_primary` to `role_into_primary`.
- Change `mark_role_primary_ref` to `role_as_primary`.
- Change `mark_role_subordinate` to `role_into_subordinate`.
- Change `mark_role_subordinate_ref` to `role_as_subordinate`.
- Change `mark_role_unspecified` to `role_into_unspecified`.
- Change `mark_role_unspecified_ref` to `role_as_unspecified`.
- Fixes #452.
|
|
To keep it consistent with other re-exports and to easier see at a
glance what is re-exported from the module.
|
|
To be consistent; we don't use plural forms for modules anywhere else
and Rust always uses singular forms.
|
|
|
|
- Previously, Message was polymorphic over the cookie. However, the
writer stack framework only has one user, and it likely ever will,
so I don't really see the point in complicating our interface.
|
|
- This aligns it with AED::symmetric_algo and SKESK::symmetric_algo.
|
|
- Add CertBuilder::set_revocation_keys to add designated revokers to
the certificate.
|
|
- Change `ValidAmalgamation::revocation_keys` to avoid duplicating
the revocation keys on the direct signature when there is no
binding signature.
|
|
|
|
|
|
|
|
|
|
|
|
- There is no reason for `ValidComponentAmalgamation<UserAttribute>`
to provide a `key_flags` method, or a `for_certification` method,
etc.
- It is questionable whether `ValidComponentAmalgamation<UserID>`
should: it's true that the primary key's binding signature is the
primary User ID's binding signature, and so when trying to
determine whether the primary key is, say, signing capable, the
key flags for the primary user id are needed. However, this is an
implementation detail, which doesn't need to be exposed to the
user; it is just confusing.
- Only implement these methods for `ValidKeyAmalgamation`.
|
|
- Fixes #472.
|
|
- Remove `ValidAmalgamation::cert_revoked` and
`ValidAmalgamation::cert_alive`, which don't offer any convenience
over `ValidAmalgamation::cert().revoked()` and
`ValidAmalgamation::cert().alive()`.
|
|
- Provide a default implementation of
`ValidAmalgamation::direct_key_signature`, which is sufficient for
all implementations of the trait.
|
|
- Add forwarders from `ComponentAmalgamation` to `ComponentBundle`
to more accurately capture the lifetime of the return values.
|