mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-16 09:22:05 +01:00
symmetrically encrypted messages are still encrypted
This commit is contained in:
parent
07f9c3ceef
commit
0c28c7a389
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class OpenPgpMetadata {
|
||||||
* @return true if encrypted, false otherwise
|
* @return true if encrypted, false otherwise
|
||||||
*/
|
*/
|
||||||
public boolean isEncrypted() {
|
public boolean isEncrypted() {
|
||||||
return sessionKey != null && sessionKey.getAlgorithm() != SymmetricKeyAlgorithm.NULL && !getRecipientKeyIds().isEmpty();
|
return sessionKey != null && sessionKey.getAlgorithm() != SymmetricKeyAlgorithm.NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue