pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'.
authorLudovic Courtès <ludo@gnu.org>
Thu, 3 Apr 2014 22:23:17 +0000 (00:23 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 3 Apr 2014 22:23:17 +0000 (00:23 +0200)
commitded1012f3c9f5d5e60481274c5b3280acc277b34
tree59bb97da0ed7fc5ecb05dd085a222ad9282eb4ea
parent7864504feb54449115e43b6d490f83ae0ca9c349
pki: Introduce 'write-acl', and fix wrong conversion in 'ensure-acl'.

* guix/pki.scm (write-acl): New procedure.
  (ensure-acl): Use it.  Fixes a regression introduced in 39831f1,
  whereby 'ensure-acl' would yield a wrong-type-arg error.
* guix/scripts/archive.scm (authorize-key): Use 'write-acl'.
guix/pki.scm
guix/scripts/archive.scm