Page MenuHomeFreeBSD

pkg: add a pkgsign_verify_data callback
ClosedPublic

Authored by kevans on Dec 16 2024, 4:26 AM.
Tags
None
Referenced Files
F173200619: D48109.diff
Thu, Sep 24, 6:32 AM
Unknown Object (File)
Thu, Sep 10, 2:09 PM
Unknown Object (File)
Sun, Sep 6, 10:57 AM
Unknown Object (File)
Sat, Sep 5, 1:28 PM
Unknown Object (File)
Sat, Sep 5, 2:59 AM
Unknown Object (File)
Fri, Sep 4, 9:41 AM
Unknown Object (File)
Thu, Sep 3, 10:50 AM
Unknown Object (File)
Thu, Sep 3, 6:48 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