6df4211985
Validate PublicKeyAlgorithmPolicy when generating keys
2024-03-08 09:28:03 +01:00
6c02b9ad44
Add test for SelfSignatureSubpacketsCallback methods
2024-03-08 09:28:03 +01:00
f8b53f0eda
Add back accidentally deleted getFeatures() methods
2024-03-08 09:28:03 +01:00
02f6e37c4f
Further progress
2024-03-08 09:28:03 +01:00
6416ef1e07
Progress
2024-03-08 09:28:02 +01:00
f611f54cad
Add SignatureSubpacketCallback.then()
2024-03-08 09:28:02 +01:00
54a9b4f258
Better differentiate Base- and OpenPgpKeyBuilder
2024-03-08 09:28:02 +01:00
3b335fa627
Progress
2024-03-08 09:28:02 +01:00
699a5eabfc
Add method for adding user attribute
2024-03-08 09:28:02 +01:00
35a68823bd
Further progress
2024-03-08 09:28:01 +01:00
92550e35cc
Progress
2024-03-08 09:28:01 +01:00
0e25ada166
WIP: Work on new key generation API
2024-03-08 09:28:01 +01:00
831e2497ed
Introduce ImplementationFactory.getPGPV4KeyPair()
...
Preparation for v6
2024-03-08 09:28:00 +01:00
cbbd980554
Spotless apply
2024-03-05 21:30:28 +01:00
c2abc89d5e
Add tests for PGPKeyRingExtensions
2024-03-05 21:29:47 +01:00
c89c47c491
Add tests for PGPPublicKeyExtensions
2024-03-05 21:17:03 +01:00
e561d58562
Add tests for PGPSecretKeyExtensions
2024-03-05 21:05:34 +01:00
dfbc56fe24
Add tests for PGPSecretKeyRingExtensions
2024-03-05 20:54:15 +01:00
020d411417
Move CachingBcPublicKeyDataDecryptorFactory to org.pgpainless.decryption_verification package
2024-02-21 15:12:29 +01:00
252c520ca2
Move org.bouncycastle classes to org.pgpainless.bouncycastle in order to avoid split package
...
See https://github.com/pgpainless/pgpainless/issues/428 for more background information
2024-02-21 14:43:38 +01:00
bd26268533
Add syntactic sugar for SignatureSubpacketCallback factory methods
2024-01-24 18:59:35 +01:00
acd7f15744
Rename LibrePGP features
2024-01-24 11:30:20 +01:00
ce51f4b8cc
Add documentation to AEAD Algorithms
2024-01-24 11:28:35 +01:00
de9a161252
Accept certification signatures using SHA-1 before 2023-02-01
...
This commit introduces a dedicated SignatureHashAlgorithmPolicy for certification signatures.
The default configuration will accept SHA-1 on sigs created before 2023-02-01.
2024-01-04 18:20:09 +01:00
69f1028fd9
Add method to change expiration time of subkeys
...
Port of e06f60f62c
to kotlin
2023-12-15 18:20:51 +01:00
97455aa256
Add test for handling key with unknown signature subpacket
2023-11-30 19:36:44 +01:00
74c7b025a0
Do not choke on unknown signature subpackets
...
Fixes #418
2023-11-30 19:36:01 +01:00
f39d2c5566
Prevent subkey binding signature from predating subkey
...
Fixes #419
2023-11-30 17:58:10 +01:00
b0caa95378
Properly feed an EOS token to the push down automata in OpenPgpMessageInputStream.read()
2023-11-27 13:27:23 +01:00
1e33408098
Please the checkstyle checker
2023-11-27 13:26:41 +01:00
Daniel Gultsch
9ab0c35b78
add unit test to read decryption stream beyond end
2023-11-26 10:55:47 +01:00
481dfac455
Revert PassphraseProvider API change
2023-11-15 19:23:52 +01:00
f07063d55f
Kotlin conversion: SignatureBuilder classes
2023-11-13 16:21:08 +01:00
3bb25a62a2
Remove unused CRCingArmoredInputStreamWrapper class
2023-11-13 14:09:42 +01:00
620c1fc96a
Ensure proper compatibility with keys with missing direct-key or certification self-sigs
2023-11-08 15:16:41 +01:00
f4bfb9dc04
Remove test with expired key
2023-10-26 12:52:21 +02:00
19b45644ae
Kotlin conversion: SignatureVerifier
2023-10-26 12:52:04 +02:00
e9d8ddc57b
Kotlin conversion: SignatureValidator
2023-10-25 19:07:52 +02:00
51e9bfc67f
Apply new formatting from 'gradle spotlessApply'
2023-10-23 14:24:31 +02:00
b72f95b46c
Kotlin conversion: SignatureSubpacketsHelper
2023-10-20 14:55:51 +02:00
0effc84fac
Kotlin conversion: SignatureSubpackets + subclasses
2023-10-20 14:10:37 +02:00
4fc513fa25
Kotlin conversion: SignatureCreationDateComparator, SignatureValidityComparator
2023-10-17 18:58:37 +02:00
70e1b40cd2
Fix ArmorUtil header
2023-10-13 13:41:50 +02:00
efae652a66
Kotlin conversion: CertificateValidator
2023-10-13 13:38:45 +02:00
853e3de472
Clean up unused casts from EncryptionOptions
2023-10-10 13:00:01 +02:00
11c1c54111
Kotlin conversion: ProviderFactory
2023-10-09 12:49:17 +02:00
8351223614
Kotlin conversion: PublicKeyParameterValidationUtil
2023-10-09 12:49:17 +02:00
1cdce5c93a
Kotlin conversion: ImplementationFactory classes
2023-10-09 12:49:17 +02:00
d707dcf74a
Move now unused utility classes to test directory
2023-10-09 12:49:17 +02:00
8382da923d
Add TODO to CRCinArmoredInputStreamWrapper
2023-10-09 12:49:17 +02:00
aca884e936
Kotlin conversion: ArmoredOutputStreamFactory
...
Also allow configuration of CRC calculation for both input and output streams
2023-10-09 12:49:16 +02:00
e16376ca68
Kotlin conversion: ArmoredInputStreamFactory
2023-10-09 12:49:16 +02:00
6b397a0d56
Kotlin conversion: SignaturePicker
2023-10-09 12:49:16 +02:00
841b386226
Kotlin conversion: MultiMap
...
Warning: This commit changes the semantics of MultiMap.put()
put() now replaces values, while plus() adds them.
2023-10-09 12:49:16 +02:00
b324742a62
Kotlin conversion: ArmorUtils
2023-10-09 12:49:16 +02:00
9a917f7fdb
Kotlin conversion: DateUtil
2023-10-09 12:49:15 +02:00
4c237d55ed
Add note about deprecation to BaseSignatureSubpackets
2023-10-09 12:49:15 +02:00
c9f988b2d1
Kotlin conversion: SelectUserId
2023-10-09 12:49:15 +02:00
33037b9743
Kotlin conversion: Passphrase
2023-10-09 12:49:15 +02:00
53b1e3ff71
Kotlin conversion: HashContextSigning
2023-10-09 12:49:15 +02:00
a50be47fa4
Kotlin conversion: CRLFGeneratorStream
2023-10-09 12:49:14 +02:00
068aa0ec27
Kotlin conversion: SignatureGenerationStream
2023-10-09 12:49:14 +02:00
0fa09065cf
Kotlin conversion: TeeBCPGInputStream
2023-10-09 12:49:14 +02:00
befb1c8c0f
Kotlin conversion: MessageInspector
2023-10-09 12:49:14 +02:00
ea57c4aec0
Kotlin conversion: EncryptionStream
2023-10-09 12:49:14 +02:00
9ee29f7a53
Kotlin conversion: IntegrityProtectedInputStream
2023-10-09 12:49:13 +02:00
a6198aadb3
Kotlin conversion: RevocationAttributes
2023-10-09 12:49:13 +02:00
68ac5af255
Kotlin conversion: UserId
2023-10-09 12:49:13 +02:00
ec8ae3eff0
Kotlin conversion: SecretKeyRingEditor
2023-10-09 12:49:13 +02:00
4719d6ccea
Migrate further to extension methods
2023-10-09 12:49:13 +02:00
68af0a4f0e
Introduce more extension methods
2023-10-09 12:49:12 +02:00
bb796143ff
Improve public/secret key selection
2023-10-09 12:49:12 +02:00
76cf6173e8
Add test for OpenPgpFingerprint.getBytes()
2023-10-09 12:49:12 +02:00
de3ea580e3
Add extension methods to PGPKeyRing, PGPSecretKeyRing and PGPSignature
2023-10-09 12:49:12 +02:00
a0b01f121a
Remove KeyRingUtils.unlockSecretKey()
2023-10-09 12:49:12 +02:00
19063454cb
Add PGPSecretKey.unlock() methods
2023-10-09 12:49:11 +02:00
6f9e692474
Kotlin conversion: KeyRingInfo
2023-10-09 12:49:04 +02:00
85e2fe956a
Add test for SubkeyIdentifier.isPrimaryKey()
2023-10-09 12:45:47 +02:00
9ee0f09b8d
Fix bug caused by false field comparison in SubkeyIdentifier
2023-10-09 12:45:47 +02:00
8fe9d250a8
Kotlin conversion: KeyInfo
2023-10-09 12:45:47 +02:00
b6e47d7739
Kotlin conversion: KeyAccessor
2023-10-09 12:45:47 +02:00
ad734ca1b4
Kotlin conversion: XDH
2023-10-09 12:45:46 +02:00
521424c23a
Kotlin conversion: XDHSpec
2023-10-09 12:45:46 +02:00
ac245fb56b
Kotlin conversion: RSA
2023-10-09 12:45:46 +02:00
ca3ff6acce
Kotlin conversion: RsaLength
2023-10-09 12:45:46 +02:00
2d755be10e
Kotlin conversion: ElGamal
2023-10-09 12:45:46 +02:00
72147b685e
Kotlin conversion: ElGamalLength
2023-10-09 12:45:45 +02:00
f8abb28a81
Turn KeyLength method into val
2023-10-09 12:45:45 +02:00
4382c1f20e
Kotlin conversion: EdDSA
2023-10-09 12:45:45 +02:00
8f49b01d51
Kotlin conversion: EdDSACurve
2023-10-09 12:45:45 +02:00
89b73895f5
Kotlin conversion: ECDSA
2023-10-09 12:45:45 +02:00
9e7a25ffe1
Kotlin conversion: ECDH
2023-10-09 12:45:45 +02:00
7f96272152
Kotlin conversion: EllipticCurve
2023-10-09 12:45:44 +02:00
13082215d6
Fix property access
2023-10-09 12:45:37 +02:00
b3f4ba052a
Remove whitespace
2023-10-09 12:44:25 +02:00
472d5c4beb
Kotlin conversion: KeyType
2023-10-09 12:44:25 +02:00
1ebf8e1e6f
Kotlin conversion: KeyLength
2023-10-09 12:44:25 +02:00
0b071ff8e1
Kotlin conversion: CachingBcPublicKeyDataDecryptorFactory
2023-10-09 12:44:24 +02:00
e8fef1f1f3
Add PGPKeyRingExtensions class and make use of it
2023-10-09 12:44:24 +02:00
6a23016104
Kotlin conversion: EncryptionResult
2023-10-09 12:44:24 +02:00