@nwalfield 
Here is the PR https://github.com/rpm-software-management/librepo/pull/275 . It 
contains commit that moves the original implementation of OpenPGP using GpgMe 
into "gpg_gpgme.c" file and creates a new based on librpm API in the 
"gpg_rpm.c" file.
There is a function `check_signature` which internally calls `pgpParsePkts` to 
parse the ASCII armored OpenPGP signature. 

I created the code based on the description in the "rpmgpg.h" header file and a 
bit of librpm reverse engineering. It's not very nice, but somehow it works. 
The code also implements a keyring.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2512#issuecomment-1556255299
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2512/1556255...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to