Page MenuHomeFreeBSD

pkg: add a pkgsign_verify_data callback
ClosedPublic

Authored by kevans on Dec 16 2024, 4:26 AM.
Tags
None
Referenced Files
F165025787: D48109.id148011.diff
Wed, Aug 5, 9:15 AM
F164966280: D48109.id148663.diff
Wed, Aug 5, 3:53 AM
Unknown Object (File)
Tue, Aug 4, 4:53 AM
Unknown Object (File)
Thu, Jul 23, 3:59 PM
Unknown Object (File)
Wed, Jul 22, 12:16 PM
Unknown Object (File)
Wed, Jul 22, 6:42 AM
Unknown Object (File)
Fri, Jul 17, 10:53 PM
Unknown Object (File)
Tue, Jul 14, 2:46 PM
Subscribers

Details

Summary

This will be used to verify raw payloads, as if signed by pkg-key(8).
It will be used specifically in pkg(7) to verify .pubkeysig as published
by poudriere.

Amend verify_pubsignature() now to use it. For the RSA signer, we need
to verify using a sha256 of the data instead of the data itself.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable