summaryrefslogtreecommitdiffstats
path: root/openpgp/Cargo.toml
AgeCommit message (Collapse)Author
2020-02-07Release 0.14.0.v0.14.0Justus Winter
2020-02-07Bump base64 to 0.11.Justus Winter
2020-02-07Pin dependencies to keep our MSRV stable.Justus Winter
2019-12-20Release 0.13.0.v0.13.0Justus Winter
2019-12-03openpgp: Relax dependency on regex crate.Daniel Kahn Gillmor
- Debian unstable currently ships regex 1.2.1 -- while we might upgrade it to 1.3.1, sequoia-openpgp doesn't appear to actually need anything special from 1.3.1 specifically, and just uses the stable interface from 1.x. So this dependency can be relaxed. Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-11-25Release 0.12.0.v0.12.0Justus Winter
2019-11-21openpgp: Replace time crate with std::time.Justus Winter
- In sq and sqv, use chrono to interface with the user. - Fixes #341.
2019-11-06openpgp: Replace RFC 2822 parser with a de factor parserNeal H. Walfield
- RFC 4880 says that "by convention, [a User ID Packet] includes an RFC 2822 [RFC2822] mail name-addr." This is not the actual convention, and attempting to parse User IDs using an RFC 2822 parser means that many common User IDs cannot be parsed. - Disparities between the actual convention and the stated convention include: - Neither users nor the software they use to create keys correctly quotes User IDs: - 'Nachname, Vorname <name@example.org>' is not valid, because it contains an unquoted comma. It should be 'Nachname\, Vorname <name@example.org>' or '"Nachname, Vorname" <name@example.org>'. (The same goes for dots, single quotes, etc.) - 'user@example.org <user@example.org>' is not valid, because it contains an unquoted at symbol. - 'Bj=?utf-8?q?=C3=B6?=rn <bjoern@example.net>' is encoded using RFC 2047, which is what RFC 2822 mandates when using non-ASCII characters, but no OpenPGP software would decode this User ID. In practice, everyone just uses UTF-8 (in this case: 'Björn <bjoern@example.net>'). - There are many examples of User IDs containing raw email addresses ('user@example.org'). But, these are not "name-addr"s. At best, they are RFC 2822 "mailbox"es. - Some User IDs only contain a name (e.g, "Frank PGP"). - RFC 2822 also includes a lot of complexity that no one uses or needs. For instance, CFWS (comments and folding whitespace) can be placed everywhere, and the rules for parsing them are complex. - Instead of continuing to bend the RFC 2822 parser to our will, we instead accept reality. - This patch replaces the RFC 2822 parser with a significantly simpler parser, which is based on actual convention (i.e., User IDs in the wild). - This parser is based on dkg's mail to the OpenPGP working group mailing list. Message-ID: <87woe7zx7o.fsf@fifthhorseman.net> https://mailarchive.ietf.org/arch/msg/openpgp/wNo27-0STfGR9JZSlC7s6OYOJkI - This initial version has one notable regression with respect to the RFC 2822 parser: it doesn't handle User IDs holding URIs.
2019-10-31Change license to GPLv2+.Neal H. Walfield
2019-10-30Update authors.Neal H. Walfield
2019-10-25Release 0.11.0.v0.11.0Justus Winter
2019-10-25rfc2822,openpgp: Move rfc2822 crate to be a private mod in openpgpNeal H. Walfield
- The rfc2822 crate doesn't implement all of RFC 2822. Moreover, it includes a number of extensions. This makes rfc2822 a misnomer. - RFC 2822 is actually obsoleted by RFC 5322. This means that if we ever add support for RFC 5322, it will be an even worse misnomer. - Move the whole crate into the openpgp crate. Note: we don't directly export the API; it is only used internally by packet::userid. - Closes #279.
2019-09-06Release 0.10.0.v0.10.0Justus Winter
2019-09-06Bump quickcheck to 0.9, rand to 0.7.Justus Winter
2019-08-22Bump idna to 0.2.Justus Winter
2019-08-22Bump rpassword to 0.4.Justus Winter
2019-08-22Trim dependencies of crates 'rand' and 'quickcheck'.Justus Winter
2019-08-02openpgp: Upgrade to base64 version 0.10.1.Neal H. Walfield
- Version 0.10.1 removes support for the base64::MIME configuration. That means, that we have to strip whitespace on our own. - Our implementation tries hard to not double buffer. - Closes #280.
2019-07-19openpgp: Add features 'vendored' and 'vendored-nettle'.Justus Winter
2019-07-15Switch to Rust 2018.Justus Winter
2019-07-08Release 0.9.0.v0.9.0Justus Winter
2019-06-14Release 0.8.0.v0.8.0Justus Winter
2019-05-28Bump memsec to 0.5.6.Hussein
- 0.5.6 fixes cross-building from macOS for Android. - Fixes #284.
2019-05-24Update to lalrpop 0.17Neal H. Walfield
- Closes #281
2019-05-10Release 0.7.0.v0.7.0Justus Winter
2019-05-07openpgp: Add email address normalizationNeal H. Walfield
- Provide a function to return a normalized email address, which is appropriate when comparing email addresses for equality.
2019-05-03openpgp: More efficiently identify valid ASCII-armorNeal H. Walfield
- Don't decode base64 data that definitely can't possibly contain a valid OpenPGP message.
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-12openpgp: Parse User IDs.Neal H. Walfield
- Provide an interface to query the name, comment and email address of RFC 2822 name-addr and addr-spec encoded User IDs.
2019-03-28Point to the version-specific documentation.Justus Winter
2019-03-26tool: Read passwords from the tty.Justus Winter
- Fixes #24.
2019-03-14Release 0.5.0.v0.5.0Justus Winter
2019-03-13Bump nettle to 5.0.Justus Winter
2019-02-21Release 0.4.1.v0.4.1Justus Winter
2019-02-19Release 0.4.0.v0.4.0Justus Winter
2019-02-13openpgp: use nettle 4.0Kai Michaelis
2019-02-12openpgp: Bump quickcheck.Justus Winter
2019-02-07openpgp: implement importing RSA keysKai Michaelis
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.
2018-12-18Release 0.3.0.v0.3.0Justus Winter
2018-12-17openpgp: Update version of time crate.Neal H. Walfield
2018-11-27Fix the gitlab badges.Justus Winter
2018-11-26Release 0.2.0.v0.2.0Justus Winter
2018-11-24Rename the openpgp crate to sequoia-openpgp.Justus Winter
2018-11-24Fix mail address.Justus Winter
2018-11-24Make cargo package happy.Justus Winter
2018-11-24Update packaging metadata in preparation for a release.Justus Winter
2018-11-21openpgp: switch to nettle 2.0Kai Michaelis
2018-11-19Bump version of 'rand'.Justus Winter
2018-11-06Use nettle 1.0Kai Michaelis