Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
- In contrast with cat, this also works on armored fragments.
- Fixes #288.
|
|
|
|
- TPK::selfsigs(), TPK::certifications(), TPK::self_revocations(),
and TPK::other_revocations() are all available as
TPK::primary().xxx().
- Making them available at the TPK level is redundant and
confusing.
- Remove them.
|
|
- Fixes #305.
|
|
- See #305.
|
|
- See #305.
|
|
- In addition to providing some added protection, this allows us to
implement 'From<Key<_, _>> for Packet'.
|
|
|
|
- Also rename the `subkey` method to `key`.
|
|
- When the `SecretKey` type only refers to the secret key material
and not a TPK-like thing, call it `SecretKeyMaterial`.
|
|
|
|
- Automatically using AEAD if all recipients claim support is a
policy decision, which we'd rather avoid in the openpgp crate.
- Fixes #293.
|
|
- Fixes #310.
|
|
|
|
|
|
- Fixes #323.
|
|
|
|
- The sync wrapper hide the async nature of the implementation, and
while this may seem convenient, it may cause subtle problems if it
is invoked from a different event loop.
- Furthermore, 'async' is a reserved keyword in the 2018 edition,
requiring awkward escaping.
- Fixes #307.
|
|
- 'sig' in method names on Signature and OnePassSig is redundant,
and 'sigtype' is likely inherited from other implementations.
- Fixes #326.
|
|
- Fixes #304.
|
|
- Instead of giving out references to the stored secret, use a new
function Unencrypted::map that maps a given function over the
secret. This allows us to encrypt the secret, and decrypt it on
demand.
|
|
- With the MIR-based borrow-checker being more precise than the
AST-based one, we can make more variables immutable.
|
|
|
|
- This is the result of running `cargo fix --edition`, with some
manual adjustments.
- The vast majority of changes merely qualify module paths with
'crate::'.
- Two instances of adding an anonymous pattern to a trait's
function.
- `async` is a keyword in Rust 2018, and hence it needs to be
escaped (e.g. in the case of the net::r#async module).
- The manual adjustments were needed due to various shortcomings of
the analysis employed by `cargo fix`, e.g. unexpanded macros,
procedural macros, lalrpop grammars.
|
|
|
|
- This is a backport from dump.sequoia-pgp.org.
|
|
|
|
|
|
|
|
|
|
|
|
- Introduce two new types, `Encrypted` and `Unencrypted`, to make
the fields of enum `SecretKey` private. Add accessors, implement
From<..> to make the new types ergonomic to use, update callsites.
|
|
- Try to decrypt all PKESKs, not just the first one.
|
|
- comments that do not apply anymore.
- Closes #308.
- Bugfix 0.7.0.
|
|
- If make-usage.sh exits abnormally, the target output file is still
updated, and consequently subsequent invocations of make don't
rebuild the target. Store the output in a temporary file.
If (and only if) make-usage.sh exits without error, rename the
temporary file.
|
|
- If a subcommand's help is very long, then clap breaks the help
across multiple lines. To prevent the first word in the continued
line from being interpreted as a subcommand, only consider lines
with exactly four leading spaces.
|
|
- 'sq wkd get email@example.net' and 'sq wkd url email@example.net'
just print the help screen.
- Use the clap options like other commands do.
|
|
|
|
|
|
Closes #213.
|
|
- Add -B flag for wkd get command
- Update usage and also add missing new lines and replace URI by
URL.
Closes #286.
|
|
and the same with wkd url.
Closes #285.
|
|
|
|
|
|
- Using the wkd client implemented in the wkd module.
- Fixes #251.
|
|
- Currently, when we serialize a packet structure, like Signature,
we get a full packet with CTB and length, even though we didn't
really ask for that. If we want to create an embedded signature,
we need to use the special interface Signature::serialize_naked()
to get it without frame.
- Also consider Key. Here, we don't know whether it is supposed to
be primary or subkey, or public or secret. Therefore, we have
SerializeKey, which is like Serialize, but also gets a tag. Now,
if Key::serialize() would only emit the body, it wouldn't need to
know what kind of key to emit.
- The same applies to trait Parse. If we use, say,
Signature::from_bytes(), the parser expects a framed signature.
If we want to parse an embedded signature, we need to use a
special interface again.
- This patch changes how we parse and serialize packet structures to
not expect or emit the frame. If we want to include the frame, we
need to explicitly wrap it into an enum Packet.
- This patch does not include any cleanups and optimizations to keep
the size manageable.
- See #255.
|
|
- Create $CARGO_TARGET_DIR first. Fixes a build problem if
$CARGO_TARGET_DIR does not exist when the build script is run.
|