Commit Graph

578 Commits

Author SHA1 Message Date
Paul Schaub 39ab6ebddf
Add test for SignatureSubpacketGeneratorUtil 2021-01-22 16:48:30 +01:00
Paul Schaub 93df791700
Test revocation reason related code 2021-01-21 14:59:55 +01:00
Paul Schaub 87eab2fb9a
More UserID tests 2021-01-21 14:52:11 +01:00
Paul Schaub 2880e0bed0
Test SecretKeySelectionStrategy.selectKeysFromKeyRing() 2021-01-21 14:46:28 +01:00
Paul Schaub ccae32ca3f
Test getSecretKey() 2021-01-21 14:38:25 +01:00
Paul Schaub c35154813a
More code cleanup and tests 2021-01-21 14:35:33 +01:00
Paul Schaub bd9a580600
Remove unused BCUtil.publicKeyRingFromSecretKeyRing method
Use KeyRingUtils.publicKeyRingFrom(secertKeys) instead
2021-01-21 14:33:52 +01:00
Paul Schaub 74c0c8a32e
Fix signature creation using keys without preferred algorithms 2021-01-21 13:47:43 +01:00
Paul Schaub 831dbb3c5d
PGPainless 0.2.0-alpha7-SNAPSHOT 2021-01-20 00:57:36 +01:00
Paul Schaub 3e5ff1fe70
PGPainless 0.2.0-alpha6 2021-01-20 00:51:59 +01:00
Paul Schaub 21dae7541c
Add test to verify that key with generic certification can be revoked properly 2021-01-19 15:36:31 +01:00
Paul Schaub 2009f7f7e3
Accept GENERIC_CERTIFICATION signatures when negotiating algorithms 2021-01-19 15:36:06 +01:00
Paul Schaub 10f1650d06
Fix dummy test whitespace 2021-01-18 18:43:39 +01:00
Paul Schaub 48b50b6b3e
Add dummy sop test to fix jacocoRootReport 2021-01-18 18:31:50 +01:00
Paul Schaub 1ce28a09af
Make UserId constructor private in favor of factory methods 2021-01-18 18:12:53 +01:00
Paul Schaub 2ad944977d
Merge pull request #49 from pgpainless/wip
Fix setExpirationDate
2021-01-18 17:15:56 +01:00
Paul Schaub 3a5bfec4c8
Merge pull request #44 from tomholub/patch-1
fixed readme? - PGPKeyRing
2021-01-18 17:10:40 +01:00
Paul Schaub b25a78bc29
Fix changing of expiration dates for keys and subkeys 2021-01-18 17:09:57 +01:00
Paul Schaub bf8e29caa4
Add KeyRingInfo.getExpirationDate(fingerprint) to get subkey exp dates 2021-01-18 17:09:34 +01:00
Paul Schaub 21ba97c598
Add SubpacketInspector and SignatureSubpacketGeneratorUtil classes 2021-01-18 17:08:52 +01:00
Paul Schaub 7ad1cb4169
Add SignatureSubpacket enum 2021-01-18 17:08:20 +01:00
Paul Schaub d54cf26f97
PGPainless 0.2.0-alpha6 2021-01-13 17:37:39 +01:00
Paul Schaub 31f4b7f3d9
PGPainless 0.2.0-alpha5 2021-01-13 16:05:09 +01:00
Tom J aaf48bfb0e
fixed readme? 2021-01-12 14:31:43 +00:00
Paul Schaub 7303c9b47d
Improve logging and verify purpose of signing keys 2021-01-09 21:03:24 +01:00
Paul Schaub c89558a01b
Split KeyFlagSelectionStrategies up into Has{Any|All}KeyFlagsSelectionStrategy 2021-01-09 20:55:19 +01:00
Paul Schaub 83362816d0
toRecipients(): Throw IllegalArgumentException instead of IllegalStateException 2021-01-09 20:44:33 +01:00
Paul Schaub 4f0493bce7
Test that the encryptionStreamBuilder will not encrypt to keys with missing flags 2021-01-09 20:40:10 +01:00
Paul Schaub 11c41e7ba7
Allow the user to specify a purpose for encryption 2021-01-09 20:30:34 +01:00
Paul Schaub 8df752e995
Add HasKeyFlagsSelectionStrategy 2021-01-09 20:16:13 +01:00
Paul Schaub 83bd157a78
Get rid of generics in selection strategies 2021-01-09 19:23:50 +01:00
Paul Schaub e53a21ff77
Add some weird keys and test for multi sub key encryption 2021-01-09 18:57:48 +01:00
Paul Schaub 63bf5a8e69
Add support for decryption with hidden recipients 2021-01-09 16:16:17 +01:00
Paul Schaub 9333fa2b65
Add README for sop module 2021-01-03 17:45:05 +01:00
Paul Schaub f5338e13e7
Get rid of ElGamal_GENERAL and rename ElGamal_ENCRYPT to ElGamal 2021-01-03 17:06:38 +01:00
Paul Schaub 5143da1311
Verify that keys can carry certain key flags 2021-01-03 17:01:08 +01:00
Paul Schaub 2378162953
Remove withDefaultKeyFlags method 2021-01-03 16:26:53 +01:00
Paul Schaub f4bc9bdbcc Merge branch 'sop' 2021-01-03 15:53:51 +01:00
Paul Schaub d014c00aaa
Refactor implementationfactory 2021-01-03 15:52:33 +01:00
Paul Schaub 82014ef6e5
Fix checkstyle issues 2021-01-03 15:52:18 +01:00
Paul Schaub 1c1f9d49ab
Introduce ImplementationFactory 2020-12-27 01:56:18 +01:00
Paul Schaub c7ede0fc8a
Add junit test for symmetric decryption 2020-12-26 23:36:33 +01:00
Paul Schaub 7d374f10a7
Allow encryption and decryption using symmetric passphrases in the main API 2020-12-26 19:04:27 +01:00
Paul Schaub 0e970b8931
Bump Bouncycastle to 1.68 2020-12-23 13:02:06 +01:00
Paul Schaub ce4f98423f
Start implementing decrypt command 2020-12-22 23:10:24 +01:00
Paul Schaub 11b1acf7f6
Improve verify command descriptions 2020-12-22 23:09:41 +01:00
Paul Schaub ee474232c8
Remove unnecessary imports 2020-12-22 23:09:17 +01:00
Paul Schaub 59e0a53c3f
Add missing copyright headers 2020-12-22 23:08:53 +01:00
Paul Schaub fb687ee5d1
Improve subcommand descriptions 2020-12-22 23:07:53 +01:00
Paul Schaub 6382ffb5ae
First implementation of encrypt command 2020-12-22 22:09:42 +01:00