tweak the interface to generating signatures yet again.
authorespie <espie@openbsd.org>
Fri, 17 Jan 2014 10:54:14 +0000 (10:54 +0000)
committerespie <espie@openbsd.org>
Fri, 17 Jan 2014 10:54:14 +0000 (10:54 +0000)
commit4dce299b2ef08ee2ad556ad006f5793a54d346a9
tree80d7599920d67e8abbd30ad6fd912f104b9f116b
parent2e88575a46769eb7a8357633bd72dcd05054fc15
tweak the interface to generating signatures yet again.
- assume key names match, deduce signer from sec key.
e.g., -s signify -s 55pkg.sec
will set signer to 55pkg and look for a pubkey named 55pkg.pub,
either besides 55pkg.sec or in /etc/signify.
- verify there's no mismatch, if possible, by verifying the first package
signed.

- also build a SHA256 on the fly while signing.
usr.sbin/pkg_add/OpenBSD/Paths.pm
usr.sbin/pkg_add/OpenBSD/PkgCreate.pm