guix-devel/guix
Ludovic Courtès 32a1eb8025 pk-crypto: Use RFC6979 when signing with an ECC or DSA key.
* guix/pk-crypto.scm (bytevector->hash-data): Add #:key-type parameter.
  Use the 'pkcs1' flag when KEY-TYPE is 'rsa', and 'rfc6979' when
  KEY-TYPE is 'ecc' or 'dsa'.
  (key-type): New procedure.
* guix/scripts/authenticate.scm (read-hash-data): Add 'key-type'
  parameter.  Pass it to 'bytevector->hash-data'.  Adjust caller
  accordingly.
* tests/pk-crypto.scm (%ecc-key-pair): New variable.
  ("key-type"): New test.
  ("sign + verify"): Pass #:key-type to 'bytevector->hash-data'.
  ("sign + verify, Ed25519"): New test.
2014-03-19 21:40:10 +01:00
..
build gnu: linux-initrd: Make the pseudo-tty device nodes. 2014-03-10 23:43:31 +01:00
build-system build-system/perl: Honour phases argument in perl build system. 2013-12-09 13:50:58 +01:00
scripts pk-crypto: Use RFC6979 when signing with an ECC or DSA key. 2014-03-19 21:40:10 +01:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
build-system.scm Move record utilities to (guix records). 2013-05-12 15:46:16 +02:00
config.scm.in build: Change state and log directories to $localstatedir/.../guix. 2014-03-09 22:10:01 +01:00
derivations.scm More /gnu/store replacements. 2014-03-10 23:58:40 +01:00
download.scm download: 'download-to-store' accepts plain file names. 2014-03-11 22:09:42 +01:00
ftp-client.scm ftp-client: Let callers handle `ftp-open' exceptions. 2013-05-14 23:51:36 +02:00
git-download.scm download: Perform derivations locally. 2014-03-06 21:42:24 +01:00
gnu-maintenance.scm gnu-maintenance: Adjust 'latest-release' to filter Bash's patch directories. 2014-02-28 00:01:53 +01:00
gnupg.scm guix refresh: Add '--key-download'. 2013-06-10 08:15:17 +00:00
hash.scm hash: Add 'open-sha256-input-port', for Guile > 2.0.9. 2014-01-24 00:01:49 +01:00
http-client.scm substitute-binary: Gracefully handle HTTP GET errors. 2014-03-01 15:38:11 +01:00
licenses.scm licenses: Add GNU FDL 1.3+. 2014-01-22 00:20:40 +01:00
monads.scm monads: Add 'text-file*'. 2014-02-03 23:20:49 +01:00
nar.scm nar: Produce archives with files sorted in C collation order. 2014-02-21 23:49:53 +01:00
packages.scm Add (guix git-download). 2014-02-21 23:49:53 +01:00
pk-crypto.scm pk-crypto: Use RFC6979 when signing with an ECC or DSA key. 2014-03-19 21:40:10 +01:00
pki.scm pki: Factorize signature manipulation procedures. 2014-01-24 00:01:49 +01:00
profiles.scm profiles: Remove misleading message. 2014-01-25 16:20:23 +01:00
records.scm records: define-record-type*: Field bindings are bound with 'let*'. 2013-10-15 23:31:22 +02:00
serialization.scm store: Add #:timeout build option. 2014-03-09 23:01:18 +01:00
snix.scm snix: Prefer descriptions from the Womb rather than from Nixpkgs. 2013-10-09 16:18:23 +02:00
store.scm store: Add 'hash-part->path'. 2014-03-14 17:16:10 +01:00
ui.scm ui: Handle SRFI-35 '&message' conditions. 2014-02-21 23:49:52 +01:00
utils.scm utils: Add a non-blocking option for 'fcntl-flock'. 2014-03-08 00:18:22 +01:00