Commit Graph

1272 Commits

Author SHA1 Message Date
Paul Schaub 73da2cc889
Fix reproducible builds by specifying file and directory modes for archive tasks 2022-06-19 22:14:11 +02:00
Paul Schaub 57743383e5
PGPainless 1.3.1-SNAPSHOT 2022-06-19 18:51:44 +02:00
Paul Schaub c078c320c3
PGPainless 1.3.0 2022-06-19 18:49:30 +02:00
Paul Schaub fd3e574d0d
Update CHANGELOG 2022-06-19 18:45:13 +02:00
Paul Schaub 40f662edbc
Bump sop-java to 4.0.0 2022-06-19 18:44:38 +02:00
Paul Schaub 749a623d88
Bump SOP version 2022-06-19 17:56:26 +02:00
Paul Schaub d64e749f22
Fix sop encrypt --sign-with allowing for protected keys 2022-06-19 17:50:31 +02:00
Paul Schaub 75455f1a3c
Add OpenPgpMetadata.isCleartextSigned and use it in sop to determine if message was cleartext signed 2022-06-19 17:31:48 +02:00
Paul Schaub 5375cd454f Implement inline-detach for 3 different types of input 2022-06-19 16:59:42 +02:00
Paul Schaub 2d60650cc6 Progress on SOP04 support 2022-06-19 16:59:42 +02:00
Paul Schaub 3f16c54867 Create test util to write data to temp file 2022-06-19 16:59:42 +02:00
Paul Schaub 7074ff5f2f Rename command tests and add generate-key test for encrypted keys 2022-06-19 16:59:42 +02:00
Paul Schaub a3b2070e76 Rename test and reference exit codes directly 2022-06-19 16:59:42 +02:00
Paul Schaub 53df487e59 Adopt changes from SOP-Java and add test for using incapable keys 2022-06-19 16:59:42 +02:00
Paul Schaub 0b69e18715 Experimental support for inline-sign, inline-verify 2022-06-19 16:59:42 +02:00
Paul Schaub dd26b5230d Use newly introduced modernKeyRing(userId) method 2022-06-19 16:59:42 +02:00
Paul Schaub 9a545a2936 Wip: SOP 4 2022-06-19 16:59:42 +02:00
Paul Schaub 9cdea63ec4 Fix performance issues of sop armor and dearmor operations 2022-06-16 11:22:35 +02:00
Paul Schaub 57fbb469ea Fix performance issue of encrypt and sign operations by buffering 2022-06-16 11:22:35 +02:00
Paul Schaub c967cbb9f0 SOP: Properly throw CannotDecrypt 2022-06-16 11:22:21 +02:00
Paul Schaub 03be9b8bae
Update README 2022-06-04 18:39:56 +02:00
Paul Schaub 444ec6d593
Add documentation to enforceBounds() 2022-06-01 13:40:07 +02:00
Paul Schaub 44c32d0620
When setting expiration dates: Prevent integer overflow 2022-06-01 13:36:00 +02:00
Paul Schaub 70a861611c
Improve SignatureUtils.wasIssuedBy() by adding support for v5 fingerprints 2022-05-18 14:21:22 +02:00
Paul Schaub 9921fc6ff6
Add and test OpenPgpFingerprint.parseFromBinary(bytes) 2022-05-18 14:19:08 +02:00
Paul Schaub 3a9bfd57ac Add test for SignatureUtils.getSignaturesForUserIdBy() 2022-05-17 18:38:48 +02:00
Paul Schaub 1a37058c66 Add SignatureUtils.getSignaturesForUserIdBy(key, userId, keyId) 2022-05-17 18:38:48 +02:00
Paul Schaub 77d010ec94 Add CollectionUtils.addAll(iterator, collection) 2022-05-17 18:38:48 +02:00
Paul Schaub 51baa0e5cb Add modernKeyRing(userId) shortcut method 2022-05-17 18:38:48 +02:00
Paul Schaub c510551f16
Move Flowcrypt and NGI logos to external host 2022-05-12 18:16:44 +02:00
Paul Schaub 8fd67da973
Add comment about readSignatures skipping compressed data packets 2022-05-08 11:34:56 +02:00
Paul Schaub 12e62d381c
Make readSignatures skip over compressed data packets without decompression. 2022-05-08 11:24:34 +02:00
Paul Schaub 08ec140b63
Add Logos for FlowCrypt and NGI and add NGI info 2022-05-07 22:49:22 +02:00
Paul Schaub ba767cc7ed
Add NGI and Flowcrypt logo svgs 2022-05-07 22:29:17 +02:00
Paul Schaub be6c16079e
Switch to version agnostic SOP spec URL 2022-05-07 22:15:13 +02:00
Paul Schaub 49d65788b4 Remove support for processing compressed detached signatures
Signatures are indistinguishable from randomness, so there is no point in
compressing them, apart from attempting to exploit flaws in compression
algorithms.
Thanks to @DemiMarie for pointing this out

Fixes #286
2022-05-07 21:46:12 +02:00
Paul Schaub d3f412873b
Fix checkstyle issues 2022-05-07 21:44:52 +02:00
Paul Schaub 374e6452f0
Add RevokedKeyException 2022-05-07 14:12:18 +02:00
Paul Schaub 3e7e6df3f9
Disallow stripping of primary secret keys 2022-05-07 14:11:39 +02:00
Paul Schaub 64a50266f1
Test for detection of uncompressed, signed messages, and improve decryption of seip messages 2022-05-05 12:43:44 +02:00
Paul Schaub 7b7707b3a9
PGPainless 1.2.3-SNAPSHOT 2022-05-05 11:25:32 +02:00
Paul Schaub ae3004a221
PGPainless 1.2.2 2022-05-05 11:22:59 +02:00
Paul Schaub 4c72bc2a8e
Update changelog 2022-05-05 11:19:23 +02:00
Paul Schaub 826331917f
Add comments to unexhaustive parsing method 2022-05-05 11:15:19 +02:00
Paul Schaub 69f84f24b6
Implement heavy duty packet inspection to figure out nature of data 2022-05-04 20:55:29 +02:00
Paul Schaub 288f1b414b
Fix javadoc links 2022-05-03 11:31:19 +02:00
Paul Schaub 2b37c4c9cb
Deprecate Policy.*.default*Policy() methods in favor of methods with more expressive names
You cannot tell, what defaultHashAlgorithmPolicy() really means.
Therefore the default methods were deprecated in favor for more expressive methods
2022-05-03 11:23:40 +02:00
Paul Schaub b980fcd7b1
EncryptionOptions.addRecipients(collection): Disallow empty collections
Fixes #281
2022-04-29 22:49:45 +02:00
Paul Schaub 51cd75533b
PGPainless 1.2.2-SNAPSHOT 2022-04-29 17:05:59 +02:00
Paul Schaub c3f6ca2ab8
PGPainless 1.2.1 2022-04-29 17:02:11 +02:00