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, Feb 26, 9:21 AM
Unknown Object (File)
Tue, Feb 25, 11:41 AM
Unknown Object (File)
Fri, Feb 21, 7:01 AM
Unknown Object (File)
Sat, Feb 8, 1:10 AM
Unknown Object (File)
Wed, Feb 5, 10:19 AM
Unknown Object (File)
Tue, Feb 4, 9:14 PM
Unknown Object (File)
Jan 21 2025, 2:24 PM
Unknown Object (File)
Jan 20 2025, 1:17 AM
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