HomeFreeBSD

pkg: refactor out a pkg_read_fd()

Description

pkg: refactor out a pkg_read_fd()

We already have to do this for reading the pubkey, just pull it out for
other uses. The ECC signer will use this to verify the bootstrap if
the PUBKEY mechanism is used.

Reviewed by: bapt, emaste
Differential Revision: https://reviews.freebsd.org/D48107

Details

Provenance
kevansAuthored on Wed, Jan 1, 9:10 PM
Reviewer
bapt
Differential Revision
D48107: pkg: refactor out a pkg_read_fd()
Parents
rG5862580ded35: pkg: abstract rsa out behind a pkgsign API
Branches
Unknown
Tags
Unknown