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)
Tue, Jan 21, 2:24 PM
Unknown Object (File)
Mon, Jan 20, 1:17 AM
Unknown Object (File)
Mon, Jan 6, 11:47 AM
Unknown Object (File)
Mon, Jan 6, 3:24 AM
Unknown Object (File)
Mon, Jan 6, 3:14 AM
Unknown Object (File)
Sun, Jan 5, 9:05 PM
Unknown Object (File)
Thu, Jan 2, 12:42 AM
Unknown Object (File)
Wed, Jan 1, 11:31 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