Tony Washer
Tony Washer
You are attempting to decrypt using the signing key!! In **getSecretKey()** you are currently searching for **isSigningKey()**. You should be looking for **isEncryptionKey()**, as you are doing in **getPublicKey()**
True. It is there is **PGPPublicKey,** but not in **PGPSecretKey.** Regardless you are still using the wrong key. You should therefore access the keyID of the key that was used...
Hi @apple-corps, Unfortunately you didn't do the change that I was requesting you to do. line 152 should be .build(getPrivateKey(getSecretKey1(pgpPublicKeyEncryptedData.getKeyID()), password))); and lines 167/168 should be private PGPSecretKey getSecretKey1(final long...
The line that you point to in StringType reads ` return new String(Hex.decode(super.decode(encoded, offset)), StandardCharsets.UTF_8);` The underlying decode method in class BytesType has as its return statement `return "0x"+Hex.toHexString(Arrays.copyOfRange(encoded, offset,...
See [here](https://community.jaspersoft.com/jasperreports-library/issues/11201) for the JasperReports issue relating to this. As you can see iText 2.17 (built in 2009) is dependent on BouncyCastle 1.38 (built in 2007). The fix is for...
You should note that the problem could be explained by the BouncyCastle provider being improperly registered. In your example project you are dynamically registering the BouncyCastle at runtime using Security.addProvider()....