From: Leo Famulari <leo@famulari.name>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: 25094@debbugs.gnu.org
Subject: bug#25094: Add comments to archive keys and acls
Date: Fri, 2 Dec 2016 13:13:51 -0500 [thread overview]
Message-ID: <20161202181351.GA30572@jasmine> (raw)
In-Reply-To: <5841B184.4050802@crazy-compilers.com>
On Fri, Dec 02, 2016 at 06:38:12PM +0100, Hartmut Goebel wrote:
> Hi,
>
> the keys for authenticating an archive currently do not hold any
> comment. This makes it hard to track acls and remove certain keys if
> required.
Indeed, this makes key management a little harder than it needs to be.
> Please implement some way to add and change the comment on keys in
> /etc/guix/ and in /etc/guix/acl.
>
> Proposed usage when generating the key:
> guix archive --generate-key=… --comment "store.example.com"
>
> Proposed usage when importing the key and overwriting any existing comment
>
> guix archive --authorize --comment "store.example.com"
>
> For now, since we have no commands for key management, these would be
> enough IMO. Existing commenty an easily be changed in the file, so for
> now we do not need a tool for this.
I think that the comment should either be signed somehow, or the field
name should be "untrusted-comment".
OpenBSD's signify tool (which we have a port of in Guix) does this:
------
$ cat foo.pub
untrusted comment: Leo's example public key
RWRrY3me0s1DYDBfpcUKZ+ul9m8FgdZfz5+cHjxBabEsvDrjL/ecTeUL
------
Minisign, which is a 3rd party tool compatible with signify, also has
trusted comments:
https://github.com/jedisct1/minisign/blob/master/src/manpage.md#notes
next prev parent reply other threads:[~2016-12-02 18:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 17:38 bug#25094: Add comments to archive keys and acls Hartmut Goebel
2016-12-02 18:13 ` Leo Famulari [this message]
2016-12-03 23:55 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161202181351.GA30572@jasmine \
--to=leo@famulari.name \
--cc=25094@debbugs.gnu.org \
--cc=h.goebel@crazy-compilers.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.