Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-06 | openpgp: Make Signature's MPIs mandatory. | Justus Winter | |
- Capitalize on the fact that all Signatures now have MPIs. | |||
2018-09-06 | openpgp: Split Signature into Signature and a mutable builder. | Justus Winter | |
- This change splits struct Signature into two structs, the new one being the struct SignatureBuilder. This has two benefits: First, the Signature is now immutable (modulo the unhashed area), and therefore we do not need to worry about signature invalidation. Second, now every Signature has MPIs. | |||
2018-09-06 | openpgp: Use getters to access Signatures. | Justus Winter | |
2018-09-06 | openpgp: Simplify Key's MPI handling. | Justus Winter | |
- Since we dropped the Default implementation, keys always have mpis, therefore we don't need to return an Option here. | |||
2018-09-06 | openpgp: Do not implement Default for Key. | Justus Winter | |
2018-09-05 | openpgp: Add test vector. | Justus Winter | |
2018-09-05 | openpgp: Fix error handling in the armor encoder. | Justus Winter | |
- If writing out the stash fails, we might end up with a stash of size 3. - Fixes #73. | |||
2018-09-04 | openpgp: Fix typo. | Neal H. Walfield | |
2018-09-03 | openpgp: Rename MPIs to Signature. | Justus Winter | |
- Concludes the patch series. - Fixes #62. | |||
2018-09-03 | openpgp: Move implementation. | Justus Winter | |
2018-09-03 | openpgp: Split the ciphertext-variants of MPIs off. | Justus Winter | |
2018-09-03 | openpgp: Split the secretkey-variants of MPIs off. | Justus Winter | |
2018-09-03 | openpgp: Split the publickey-variants of MPIs off. | Justus Winter | |
2018-09-03 | openpgp: Expose packet structs in the packet module. | Justus Winter | |
- Fixes #64. | |||
2018-09-03 | openpgp: Move definition of struct MDC. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct SEIP. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct CompressedData. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct Literal. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct UserAttribute. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct UserID. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct Key. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct OnePassSig. | Justus Winter | |
2018-09-03 | openpgp: Move definition of struct Unknown. | Justus Winter | |
2018-09-03 | openpgp: Fix comment. | Neal H. Walfield | |
2018-08-31 | Revert "openpgp: add simple pk crypto interface to TPK" | Kai Michaelis | |
This reverts commit 914314d61fa5cbc146a69965f399cd2e09fabfda. | |||
2018-08-31 | openpgp: superflouos -> superfluous typo | Kai Michaelis | |
2018-08-31 | openpgp: Improve docstring. | Justus Winter | |
2018-08-31 | openpgp: add simple pk crypto interface to TPK | Kai Michaelis | |
Adds TPK::encrypt & TPK::verify et.al. to make simple public key operations easier than using Encryptor & Verifier instances. | |||
2018-08-31 | openpgp: Tweak test to check that secrets are not leaked. | Justus Winter | |
2018-08-31 | openpgp: Make SKESK's ESK field optional. | Justus Winter | |
2018-08-30 | openpgp: fix minor warning | Kai Michaelis | |
2018-08-30 | openpgp: add Verifier::message_processed | Kai Michaelis | |
Adds a way to Verifier to check whether the whole message has been processed and the result in the Helper is ready w/o consuming the Verifiers buffer. Adds a test verifying a 30MiB message. | |||
2018-08-30 | openpgp: minor typo | Kai Michaelis | |
2018-08-30 | openpgp: fix packet length encoding, add tests. | Kai Michaelis | |
Four-octet packet lengths where emitted w/o preceding 0xff byte, two-octet lengths weren't used for 8383 byte large packets (off-by-one). I also added unit tests enumerating all edge cases. | |||
2018-08-30 | openpgp: Add roundtrip test. | Justus Winter | |
2018-08-30 | openpgp: Canonicalize times. | Justus Winter | |
- Strip off aspects of timestamps and durations that OpenPGP cannot represent. | |||
2018-08-30 | openpgp: Add getters returning mutable references to Key's MPIs. | Justus Winter | |
2018-08-29 | openpgp: Fix requesting TPKs for signature verification. | Justus Winter | |
2018-08-29 | openpgp: Add conversion from KeyIDs to u64. | Justus Winter | |
2018-08-29 | openpgp: Make the keys() iterator more useful. | Justus Winter | |
- Return the corresponding (binding-)signature along with the keys. | |||
2018-08-29 | openpgp: Warn that Literal Data Packet metadata is unprotected. | Neal H. Walfield | |
- An OpenPGP signature over a Literal Data Packet does not protect the Literal Data Packet's meta-data. Note this in the documentation and discourage the use of these fields. | |||
2018-08-29 | openpgp: Improve VerificationResult's documentation. | Neal H. Walfield | |
- Mention that signature verification does not consider whether the key is trusted. | |||
2018-08-27 | openpgp: Keep bad signatures for later. | Justus Winter | |
- When we find signatures that are bad or unused, keep them around, they might be useful when merging the TPK later on. This may happen if we see a partial TPK. For instance, if we have a key server that doesn't return user id packets, it should still return any self-signatures on those user id packets to allow propagation of revocation certificates, etc. - Fixes #34. | |||
2018-08-27 | openpgp: Collect direct-key signatures. | Justus Winter | |
- Fixes #32. | |||
2018-08-27 | tool: Ignore multiple signatures from the same TPK by default. | Justus Winter | |
- This behavior can be changed using a switch. - Fixes #18. | |||
2018-08-27 | openpgp: Add a signing subkey. | Justus Winter | |
2018-08-27 | tool: Ignore duplicate signatures in sqv. | Justus Winter | |
- See #18. | |||
2018-08-27 | openpgp: Add method to clear a SubpacketArea. | Justus Winter | |
2018-08-27 | openpgp: Make our packets implement Eq and Hash. | Justus Winter | |
- These traits are required for the packets to be used as keys in hashmaps. | |||
2018-08-27 | openpgp: Add missing trait import for tests. | Justus Winter | |
- Fixes 2bd291e060549c59fbeb698e9b61f92021d7f01f. |