diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-03-22 09:50:06 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-03-22 14:05:59 +0100 |
commit | ab2a74e4dbfd396566a8b14223f5849304d4fe6b (patch) | |
tree | 69f74204ea1a360e2043740de982851eb2340615 /doc | |
parent | 5cd074ea32debac844ce3761f6baa3f63e3d61b2 (diff) | |
download | patches-ab2a74e4dbfd396566a8b14223f5849304d4fe6b.tar patches-ab2a74e4dbfd396566a8b14223f5849304d4fe6b.tar.gz |
publish: The public and private keys are now SRFI-39 parameters.
* guix/scripts/publish.scm (%default-options): Add 'public-key-file' and
'private-key-file'.
(lazy-read-file-sexp): Remove.
(%private-key, %public-key): Turn into SRFI-39 parameters.
(signed-string, render-narinfo): Adjust accordingly.
(guix-publish): Honor 'public-key-file' and 'private-key-file' from
OPTS. Use 'parameterize'.
* guix/pk-crypto.scm (read-file-sexp): New procedure.
* tests/publish.scm: Initialize '%public-key' and '%private-key'.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions