summaryrefslogtreecommitdiffstats
path: root/tool
AgeCommit message (Collapse)Author
2019-01-15tool: Drop unreachable code.Justus Winter
- AppSettings::ArgRequiredElseHelp makes sure this doesn't happen.
2019-01-15tool: Introduce key manipulation subcommand.Justus Winter
- And move the key generation subcommand there, calling it `generate`. - Fixes #163.
2019-01-15tool: Move key generation to a new module.Justus Winter
2019-01-15openpgp: Hand a Vec<crypto::Signer> to stream::Signer.Justus Winter
- Using `crypto::Signer`s has several benefits. First, it shifts the decision which key to use to the caller, moving policy out of the caller. Second, it forces the caller to deal with encrypted keys. Finally, it allows us to use remote keys like smart cards in the future. - Fixes #142.
2019-01-10tool: Generate keys protected with a password.Justus Winter
2019-01-07tool: Update documentation.Justus Winter
2019-01-07tool: Drop dependency on promptly.Justus Winter
- Do not ask whether to overwrite files, just fail and mention --force. - We decided that sq should not be interactive (modulo password prompts). Interactive programs are more difficult to test and script. Furthermore, it turns out that nix, a dependency of promptly, does not build on Android. - Fixes #148.
2018-12-18Release 0.3.0.v0.3.0Justus Winter
2018-12-18tool: Move the signing code to a new module.Justus Winter
2018-12-18tool: Always display prefix of literal data.Justus Winter
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-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-12-11tool: ask before overwriting files, add --forceKai Michaelis
2018-12-07openpgp: Make PacketParser's header field private.Justus Winter
2018-12-07openpgp: Make PacketParser's map field private.Justus Winter
2018-12-05openpgp: Drop openpgp::Reader.Justus Winter
- Now that the packet parser transparently strips armor, this reader is no longer necessary.
2018-11-27Fix the gitlab badges.Justus Winter
2018-11-26Release 0.2.0.v0.2.0Justus Winter
2018-11-26sqv: Move sqv into a new crate.Justus Winter
- This allows us to use sequoia-openpgp without compression support reducing binary size and trusted computing base.
2018-11-26tool: Implement verification of detached sigs.Justus Winter
2018-11-26openpgp: move Features, KeyFlags and KySrvPrf. into own filesKai Michaelis
2018-11-24Rename the openpgp crate to sequoia-openpgp.Justus Winter
2018-11-24Fix mail address.Justus Winter
2018-11-24Update packaging metadata in preparation for a release.Justus Winter
2018-11-14Avoid identity slicing.Justus Winter
2018-11-13tool: update usageKai Michaelis
2018-11-13tool: remove --output, don't silently dump rev-certKai Michaelis
--export now takes the output path of the key as argument, replacing --output. --rev-cert is mandatory, if --export is -. Otherwise, --rev-cert is <OUTFILE>.rev
2018-11-13tool: add keygen subcmdKai Michaelis
The new subcommand can generate simple RSA and ECC keys and their revocation certificates. It mostly exposes the TPKBuilder API. Users can specify whether a key can sign and/or encrypt.
2018-11-12tool: Fix.Justus Winter
- This file is include!d, and hence must not use //!. - Fixes 133bce5f1081344ec6682ee14885c4d2a7390994.
2018-11-12tool: Add note.Justus Winter
2018-10-30openpgp: Implement Serialize for TPK and TSK.Justus Winter
2018-10-23openpgp: Move the Password type to openpgp::crypto.Justus Winter
2018-10-23openpgp: Move the hash_file(..) function to openpgp::crypto.Justus Winter
2018-10-23openpgp: Move S2K to openpgp::crypto.Justus Winter
2018-10-23openpgp, tool: Improve iteration over packet maps.Justus Winter
- Using a concrete type allows us to change the implementation later. Furthermore, we avoid a heap allocation.
2018-10-23openpgp: Move Map into a new module.Justus Winter
2018-10-16openpgp: Move the CTB module to openpgp::packet.Justus Winter
2018-10-16openpgp: Improve the streaming writer API.Justus Winter
- Also, improve documentation and doctests.
2018-10-11openpgp: Add support for the AEAD encrypted data packet.Justus Winter
- This adds a new packet type, and enough infrastructure to decrypt messages encrypted using AEAD.
2018-10-10openpgp: Add support for SKESKv5 packets.Justus Winter
2018-10-09openpgp: Support the Preferred AEAD Algorithm subpacket.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-10-08tool: Bump prettytable to 0.8.Justus Winter
2018-10-06tool: Dump output belongs on stderr.Neal H. Walfield
- decrypt called dumper.flush() with the same output destination as that used for the decrypted data. But, the output of dump belongs on stderr.
2018-10-01tool: Also show the computed MDC's hash.Neal H. Walfield
2018-10-01tool: Fix spelling.Neal H. Walfield
- In particular, a KeyExpirationTime should be shown as "Key expiration time" and not "Signature expiration time".
2018-10-01tool: Also display a Signature Expiration Time's absolute valueNeal H. Walfield
- The Signature Expiration Time subpacket's value is relative to the signature's Signature Creation Time's value. To make it easier to understand what is happening, also show the absolute time, if possible.
2018-09-28openpgp: Check intended recipients in the decryptor.Justus Winter
- Fixes #111.