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, Dec 10, 9:24 PM
Unknown Object (File)
Wed, Nov 26, 3:39 AM
Unknown Object (File)
Tue, Nov 25, 3:23 PM
Unknown Object (File)
Mon, Nov 24, 4:57 AM
Unknown Object (File)
Sat, Nov 22, 9:39 AM
Unknown Object (File)
Sat, Nov 22, 9:38 AM
Unknown Object (File)
Sat, Nov 22, 9:36 AM
Unknown Object (File)
Sat, Nov 22, 9:36 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 61198
Build 58082: arc lint + arc unit