We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No able to get the key usage from the Key rings of PGP version 6.5.8 Network Associates
Iterator<PGPSignature> sigItr = secretKey.getPublicKey().getSignatures(); StringBuilder keyUsage = new StringBuilder(); while (sigItr.hasNext()) { PGPSignature sig = sigItr.next(); PGPSignatureSubpacketVector subPacks = sig.getHashedSubPackets(); if (subPacks != null) { if ((subPacks.getKeyFlags() & KeyFlags.ENCRYPT_COMMS) == 4) {
Expected behavior
It should fetch me the actual key usages, it's working for all keys except for PGP version 6.5.8 Network associates types key
** System (please complete the following information):**
The text was updated successfully, but these errors were encountered:
Please test with 2.3.0 (should be in maven any time now)
Sorry, something went wrong.
I am able to solve this in a different way, do you want me to commit ?
neuhalje
No branches or pull requests
No able to get the key usage from the Key rings of PGP version 6.5.8 Network Associates
Iterator<PGPSignature> sigItr = secretKey.getPublicKey().getSignatures(); StringBuilder keyUsage = new StringBuilder(); while (sigItr.hasNext()) { PGPSignature sig = sigItr.next(); PGPSignatureSubpacketVector subPacks = sig.getHashedSubPackets(); if (subPacks != null) { if ((subPacks.getKeyFlags() & KeyFlags.ENCRYPT_COMMS) == 4) {
Expected behavior
It should fetch me the actual key usages, it's working for all keys except for PGP version 6.5.8 Network associates types key
** System (please complete the following information):**
The text was updated successfully, but these errors were encountered: