@nwalfield commented on this pull request.
> @@ -107,6 +107,22 @@ rpmPubkey rpmPubkeyLink(rpmPubkey key);
*/
char * rpmPubkeyBase64(rpmPubkey key);
+/** \ingroup rpmkeyring
+ * Return fingerprint of primary key
+ * @param key Pubkey
+ * @param fp Fingerprint data
+ * @param fplen Length of Fingerprint
+ * @return 0 on success
+ */
+int rpmPubkeyFingerprint(rpmPubkey key, uint8_t **fp, size_t *fplen);
+
+/** \ingroup rpmkeyring
+ * return primary key (or key itself iff it is the primary key)
+ * @param key Pubkey
+ * @return Primary key
+ */
+rpmPubkey rpmPubkeyMainKey(rpmPubkey key);
> Primary because I am unfamiliar with the nomenclature.
:D
> `rpmPubkeyPrimarykey` or `rpmPrimaryPubkey`?
`rpmPubkeyPrimarykey` sounds better to me.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3321#discussion_r1776984489
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3321/review/[email protected]>
_______________________________________________
Rpm-maint mailing list
[email protected]
http://lists.rpm.org/mailman/listinfo/rpm-maint