History log of /openbsd/usr.sbin/pkg_add/OpenBSD/PkgSign.pm (Results 1 – 18 of 18)
Revision Date Author Comments
# 039cbdaa 13-Jun-2023 espie <espie@openbsd.org>

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message

move to use v5.36;
tested by me over the last few weeks, and tb@
also fixed a "manual install" bug properly reported by tb@

aside that there should be *no functional change*.
If you see any message like "hey, the number of params is wrong"
it is a fringe case I didn't run into and should be easy to fix.

show more ...


# c07cf433 08-Jul-2019 espie <espie@openbsd.org>

error out if we can't create the temp file


# 6b6947a6 01-Mar-2017 espie <espie@openbsd.org>

scrape most of the config framework
okay aja@, rpe@


# 8af95b1c 27-Feb-2017 espie <espie@openbsd.org>

framework for some performance stats as a -V... option (like how much
of a package you actually downloaded, or how many packages you touch)
okay aja@


# 43731c39 03-Oct-2016 espie <espie@openbsd.org>

kill creating old signatures.


# d07c2f5d 03-Oct-2016 espie <espie@openbsd.org>

display a decent error message


# 5aeb9f88 03-Oct-2016 espie <espie@openbsd.org>

throw a decent error message, signify2 can't (yet) sign non local packages
(it would need a way to get "raw" gzip data)


# 50be34ca 28-Sep-2016 espie <espie@openbsd.org>

oops, forgot THAT hook. You have to start with unsigned to get signed


# 55d9f090 15-Sep-2016 espie <espie@openbsd.org>

actual signify2 code, a bit refactoring


# 0ac31020 06-Sep-2016 espie <espie@openbsd.org>

remove code that allows pkg_create to sign


# cfbcdbb5 09-May-2016 espie <espie@openbsd.org>

prepare for API tweaks of OpenBSD::MkTemp
okay afresh1@


# 58ce1e23 11-Oct-2014 espie <espie@openbsd.org>

allow signing to proceed when interrupted


# f5e40b2d 25-Jan-2014 espie <espie@openbsd.org>

somehow, bytes got garbled. Be less cute and seek twice, that works.
sorry about that.


# 2a656a48 23-Jan-2014 espie <espie@openbsd.org>

tweak the way we create and sign packages significantly:

all modern compression formats support multi-stream archives.
Store the packing-list as a separate stream, and note where the
first stream en

tweak the way we create and sign packages significantly:

all modern compression formats support multi-stream archives.
Store the packing-list as a separate stream, and note where the
first stream ends when reading back the packing list.

When pkg_sign sees a split-stream archive, it does not need to unpack/repack
the whole archive: it can just sign the packing-list, close the stream, and
copy the next stream(s) from the source archive verbatim.

This is perfectly transparent to pkg_add, but abuses IO::Uncompress::Gunzip
internals slightly (to be solved with cpan).

also adds explicit option -C for generating a SHA256 list of all packages.

and okay naddy@

show more ...


# 70c5ac45 23-Jan-2014 espie <espie@openbsd.org>

oops, pkg_sign is unhappy without -o.
Minimal fix, in order not to create too much conflict with pending work...

(problem noticed by naddy@)


# 7e1bf046 23-Jan-2014 espie <espie@openbsd.org>

clean-up synopsis


# 97985d09 23-Jan-2014 espie <espie@openbsd.org>

check parameters better.
create -o directory if necessary


# de005353 23-Jan-2014 espie <espie@openbsd.org>

reorg code: make "signing only" a separate command, as it has nothing in
common with pkg_create.

Move the signing part in its own module, so that PkgCreate can reuse it
for "signing while we build"

reorg code: make "signing only" a separate command, as it has nothing in
common with pkg_create.

Move the signing part in its own module, so that PkgCreate can reuse it
for "signing while we build" mode.

naddy@ agrees

show more ...