Page MenuHomeFreeBSD

pkg: add a pkgsign_verify_data callback
ClosedPublic

Authored by kevans on Dec 16 2024, 4:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 20, 5:38 PM
Unknown Object (File)
Thu, May 7, 12:22 AM
Unknown Object (File)
Wed, May 6, 6:59 PM
Unknown Object (File)
Sun, May 3, 12:17 PM
Unknown Object (File)
Sun, May 3, 10:45 AM
Unknown Object (File)
Tue, Apr 28, 8:45 AM
Unknown Object (File)
Mon, Apr 27, 6:54 PM
Unknown Object (File)
Apr 19 2026, 2:04 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