Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-22 | openpgp: make TPK::merge more forgiving | Kai Michaelis | |
2018-11-22 | Fix typos. | Neal H. Walfield | |
2018-11-22 | openpgp: Detect ASCII-Armored data and decode. | Neal H. Walfield | |
- Add a basic check to the PacketParserBuilder to see if the message could be a binary OpenPGP message. If not, push an ASCII-Armor decoder. | |||
2018-11-22 | openpgp: Make the armor reader work with generic BufferedReaders | Neal H. Walfield | |
- Don't require that the Cookie be a (). Allow any type. | |||
2018-11-22 | openpgp: Export VerificationResult::level. | Neal H. Walfield | |
2018-11-22 | openpgp: Don't export function. | Neal H. Walfield | |
2018-11-21 | openpgp: switch to nettle 2.0 | Kai Michaelis | |
2018-11-20 | openpgp: Add a function to pretty print a BufferedReader stack | Neal H. Walfield | |
2018-11-20 | openpgp: Add basic support for old-style sigs to the Verifier. | Neal H. Walfield | |
- Although the PacketParser doesn't support old-style signatures (see issue #128), the Verifier should not choke on them. - This change prevents the Verifier from choking by processing all old-style signatures in the usual manner. However, because the old-style signatures will have a computed hash of 000..., they will appear to be bad. | |||
2018-11-16 | openpgp: Stylistic fix. | Justus Winter | |
2018-11-16 | openpgp: Add encryption roundtrip test. | Justus Winter | |
2018-11-16 | openpgp: it's cfg!(debug_assertions) not debug | Kai Michaelis | |
Whoopsie | |||
2018-11-16 | openpgp: centralize hash computation | Kai Michaelis | |
Adds sign_userid_binding, sign_user attribute, sign_subkey_binding and sign_primary_key_binding to signature::Builder. These are now used instead of constructing the hash by-hand each time and then signing by Builder::sign_hash. Signature::*_hash are now class methods. | |||
2018-11-16 | openpgp: reverse the scalar after keygen | Kai Michaelis | |
2018-11-16 | buffered-reader: Require that BufferedReaders implement Display. | Neal H. Walfield | |
- Also, update BufferedReaders to implement it. | |||
2018-11-15 | openpgp: Make modules private. | Justus Winter | |
2018-11-14 | openpgp: embed backwards sig into binding | Kai Michaelis | |
The TPKBuilder now adds the necessary backwards signature for signing capable subkeys. | |||
2018-11-14 | openpgp: Fix session key caching. | Justus Winter | |
- Fix type of session key, and actually call the callbacks. | |||
2018-11-14 | openpgp: Add tracing. | Justus Winter | |
2018-11-14 | openpgp: Implement Serialize for packet::Header. | Justus Winter | |
2018-11-14 | openpgp: Add a public interface for parsing headers. | Justus Winter | |
2018-11-14 | openpgp: Move parsing code to the parsing module. | Justus Winter | |
2018-11-14 | openpgp: Fix key creation. | Justus Winter | |
- Use correct algorithm for encryption subkeys when using the Cv25519 suite. | |||
2018-11-14 | Avoid identity slicing. | Justus Winter | |
2018-11-13 | openpgp: time-constant MPI comparison ops | Kai Michaelis | |
2018-11-13 | openpgp: don't print SessionKey and Password | Kai Michaelis | |
Disables Debug for SessionKey and Password in release mode. | |||
2018-11-13 | openpgp: handle ??25519 secret keys with leading 0 | Kai Michaelis | |
OpenPGP MPIs allow leading zeros to be omitted while Nettle expects the leading zeros ot be present. Now, we handle this by padding all secret keys before handing them off to nettle. Fixes #96 | |||
2018-11-02 | openpgp: improve handling uid revocations. | Kai Michaelis | |
Revocation signatures only revoke earlier self-sigs, not signatures made after the rev-sig. | |||
2018-11-02 | openpgp: Fix test. | Justus Winter | |
- Fixes d4eb1d81803976a8a87f5c198a4493c1fc629a47. | |||
2018-11-02 | openpgp: Create revocation certificates for TPKs. | Justus Winter | |
- Fixes #95. | |||
2018-11-01 | openpgp: Add test. | Justus Winter | |
- Fixes #47. | |||
2018-11-01 | openpgp: Return an error in case of conflicts. | Justus Winter | |
- Fixes #124. | |||
2018-10-30 | openpgp: Make some subpackets not critical by default. | Justus Winter | |
- Mark some subpackets created using the convenience setters on the signature builder as not critical according to the list given in #58: 2 = Signature Creation Time - critical 3 = Signature Expiration Time - critical 4 = Exportable Certification - critical 5 = Trust Signature - critical 6 = Regular Expression - critical 9 = Key Expiration Time - critical 11 = Preferred Symmetric Algorithms - not critical 16 = Issuer - not critical 20 = Notation Data - critical if any notation is critical 21 = Preferred Hash Algorithms - not critical 22 = Preferred Compression Algorithms - not critical 23 = Key Server Preferences - not critical 24 = Preferred Key Server - not critical 25 = Primary User ID - critical 26 = Policy URI - not critical (not machine readable) 27 = Key Flags - critical 28 = Signer's User ID - critical 29 = Reason for Revocation - not critical 30 = Features - not critical 31 = Signature Target - critical 32 = Embedded Signature - critical - Fixes #58. | |||
2018-10-30 | openpgp: Make Serialize::to_vec() return Result(_). | Justus Winter | |
- Fixes #121. | |||
2018-10-30 | openpgp: Implement Serialize for TPK and TSK. | Justus Winter | |
2018-10-30 | openpgp: Update comment. | Justus Winter | |
2018-10-26 | openpgp: Add constructors to TSK, implement Deref{,Mut} for TSK. | Justus Winter | |
2018-10-26 | openpgp: Fix serializing keys that have no secrets. | Justus Winter | |
2018-10-26 | openpgp: Fix serializing TSKs. | Justus Winter | |
2018-10-23 | openpgp: Move sequre_eq to openpgp::crypto. | Justus Winter | |
2018-10-23 | openpgp: Move SessionKey into openpgp::crypto. | Justus Winter | |
2018-10-23 | openpgp: Move the Password type to openpgp::crypto. | Justus Winter | |
2018-10-23 | openpgp: Move the hash_file(..) function to openpgp::crypto. | Justus Winter | |
2018-10-23 | openpgp: Move openpgp::mpis to openpgp::crypto::mpis. | Justus Winter | |
2018-10-23 | openpgp: Move S2K to openpgp::crypto. | Justus Winter | |
2018-10-23 | openpgp: Move crypto primitives to openpgp::crypto. | Justus Winter | |
- This commit moves all non-exported modules. | |||
2018-10-23 | openpgp, 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-23 | openpgp: Move Map into a new module. | Justus Winter | |
2018-10-18 | openpgp: implement len() for the TPK iterators. | Kai Michaelis | |
2018-10-17 | openpgp: don't show SecretKey values in release mode | Kai Michaelis | |