summaryrefslogtreecommitdiffstats
path: root/tool
AgeCommit message (Collapse)Author
2019-05-16openpgp: Introduce trait Policy. WIPfix-274Justus Winter
- Add a new trait `sequoia_openpgp::Policy`. Currently, this trait only has one method that returns the current time. This time is used when evaluating signatures. - Use this trait in TPK::{revocation_status,alive,expired}. Remove the corresponding *_at() functions. - Fixes #274.
2019-05-15core, store, tool: Use realm instead of domain.Justus Winter
- Remove the domain parameter from core::Context. - Replace it with a realm to be passed in when opening a store. - For sq, merge store name and realm into the --store parameter. - Fixes #105.
2019-05-15tool: Fix test.Justus Winter
2019-05-14openpgp, openpgp-ffi: Normalize TPK::revoked()Neal H. Walfield
- `TPK::revoked` returns a revocation status, not a boolean. Rename it to `TPK::revocation_status()`, like it is called in the FFI. - Like other methods, provide a `foo_at()` method and a `foo()` method.
2019-05-11tool: Make sq inspect fail more verboselyNeal H. Walfield
- If sq inspect doesn't recognize the packet sequence, then have it print the parse errors.
2019-05-11tool: Fix hintNeal H. Walfield
- 'sq dump' was renamed to 'sq packet dump', but this reference was not updated.
2019-05-11openpgp: Make {is,possible}_{message,keyring,tpk} return a ResultNeal H. Walfield
- PacketParserEOF::is_message, PacketParserEOF::is_keyring, PacketParserEOF::is_tpk, PacketParserResult::possible_message, PacketParserResult::possible_keyring, and PacketParserResult::possible_tpk returned a boolean. - Change them to return a Result<()> instead, which is more Rusty, and, in particular, allows the caller to determine why the message didn't parse.
2019-05-10Release 0.7.0.v0.7.0Justus Winter
2019-05-09openpgp: Communicate message structure from the decryptor.Justus Winter
- Fixes #100.
2019-05-07openpgp: Rename TPKBuilder::default to TPKBuilder::newNeal 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-04-29openpgp: New TSK type.Justus Winter
- With a1e226f8f1418de43e577fdaa1d087b68bbb09ae in place, we have a more general way to add components to a TPK. Retire the current `TSK` type and replace it with a thin shim that only allows serialization of secret keys. - Fixes #107.
2019-04-24tool: Fix dumping of unknown MPIs.Justus Winter
2019-04-24tool: Drop superfluous newline.Justus Winter
2019-04-24openpgp: Make {PublicKey,Curve}::bits() return Option<usize>.Justus Winter
- Return `None` on unknown public keys and curves.
2019-04-24openpgp: Implement creation and serialization of Autocrypt headers.Justus Winter
2019-04-12Release 0.6.0.v0.6.0Justus Winter
- Also bump rfc2822 to 0.6.0. After all, we create tags for the versions.
2019-04-12tool: Pretty-print MPIs using the hex dumper.Justus Winter
2019-04-12openpgp: Move the hex dumper to conversions::hex.Justus Winter
2019-04-12tool: Add documentation.Justus Winter
2019-04-12tool: Fix hex dumper.Justus Winter
- Do not print the offset if the data ends on a 16-byte boundary, and avoid excess spaces. - Add test.
2019-04-12tool: Indent based on the terminal size.Justus Winter
2019-04-12tool: Improve packet dumper.Justus Winter
- Indent the hexdumps, but don't exceed a target width.
2019-04-12tool: Turn HexDumper into an io::Write filter.Justus Winter
2019-04-12tool: Support indenting hexdumps.Justus Winter
2019-04-09tool: Don't ask the user to decrypt a key we don't support.Justus Winter
2019-04-09tool: Fix error handling when decrypting using encrypted keys.Justus Winter
- Fixes #241.
2019-04-09openpgp: Guard signature verifications with a time.Justus Winter
- In the streaming verifier and decryptor, check that signatures (and binding signatures) are valid at the given time. - Fixes #247.
2019-04-04tool: Include error messages when dumping unknown packets.Justus Winter
2019-04-03openpgp: Reverse the order of signature groups.Justus Winter
- Previously, we reported the signature groups in the order encountered in the message. Reverse this order in preparation to reporting the message structure, which is the path from the start of the message to the literal data packet.
2019-04-02openpgp: Support the Trust packet.Justus Winter
- Fixes #235.
2019-04-02openpgp: Improve the VerificationHelper protocol.Justus Winter
- Change VerificationResult::GoodChecksum to include references to the TPK that contained the signing key, the key itself, a binding signature (if any), and any revocation information. - Fixes #140.
2019-04-02Install completion files.Doron Behar
- Make tool/build.rs generate completion files into a predictable location ($CARGO_TARGET_DIR). - Install completion files.
2019-04-01openpgp: Support the marker packet.Justus Winter
- Fixes #234.
2019-03-28Fix intra-workspace dependencies.Justus Winter
- Specify versions for intra-workspace dependencies in the crates that are not yet released.
2019-03-28Point to the version-specific documentation.Justus Winter
2019-03-28openpgp: Consistently abbreviate symmetric algorithm.Justus Winter
- See #223.
2019-03-28openpgp: Rename methods related to symmetric algorithms.Justus Winter
- Fixes #223.
2019-03-26openpgp: Add enum Signature.Justus Winter
- See #228.
2019-03-26tool: Read passwords from the tty.Justus Winter
- Fixes #24.
2019-03-25tool: Dump session keys.Justus Winter
2019-03-25openpgp: Rework the DecryptionHelper trait.Justus Winter
- Simplify the protocol by removing the iteration. Instead, the callee gets a proxy for PacketParser::decrypt() that she can use to decrypt the message. If successful, the session key can be cached without involving the DecryptionHelper trait. This also allows us to dump session keys. - Fixes #219.
2019-03-25tool: Use the new API.Justus Winter
2019-03-21openpgp: Rename `UserID::userid()` to `value()`.Justus Winter
- Fixes #224.
2019-03-21tool: Dump user attribute subpackets.Justus Winter
2019-03-21openpgp: Rename UserAttribute's accessors.Justus Winter
- See #224.
2019-03-18openpgp: Make cipher algorithm configurable in streaming Encryptor.Justus Winter
- Fixes #208.
2019-03-18openpgp: Make hash algorithm configurable in streaming Signer.Justus Winter
- See #208.
2019-03-18tool: Dump the size of public keys.Justus Winter
2019-03-14Release 0.5.0.v0.5.0Justus Winter
2019-03-14tool: Add option to set the kind of armored data.Justus Winter