-
Notifications
You must be signed in to change notification settings - Fork 359
New issue
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
OpenPGP: Function pgpParsePkts
parses only first ascii-armor block
#2487
Comments
pgpParsePkts
parses only first packetpgpParsePkts
parses only first packet
Here's the documentation for pgpParsePkts:
I'm pretty certain this doesn't parse one packet, but all of the packets in one ascii-armor block. Perhaps you mean that you have multiple arscii-armor blocks. Here's how |
Anyway, thanks for the response. |
pgpParsePkts
parses only first packetpgpParsePkts
parses only first ascii-armor block
The pgp-related APIs in rpm are indeed rather terrible. The loop in rpm's --import was a bandaid fix for a case where RHEL 6 (yes, really) needed to deliver multiple keys in a single file. This worked with yum but then it was discovered that rpm doesn't, and I had to cobble up something quick. And then promptly stuffed in the closet of API horrors, dirty kludges and other skeletons and forgotten. |
I've added a note to #2401. I think this issue can be closed. |
The above should probably be #2041 |
Indeed, sorry. |
Clarified the documentation in bccf58f (and managed to typo the ticket number, sigh) |
Problem: After first ascii-armor block function returns. Next blocks are ignored.
Example solutions:
The text was updated successfully, but these errors were encountered: