tweak to allow RSA_GENERAL to be recognised as a master key still.
@@ -391,7 +391,7 @@ public boolean isEncryptionKey()
*/
public boolean isMasterKey()
{
- return (subSigs == null) && !this.isEncryptionKey();
+ return (subSigs == null) && !(this.isEncryptionKey() && publicPk.getAlgorithm() != PublicKeyAlgorithmTags.RSA_GENERAL);
}
/**
