Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-23 Thread Ludovic Courtès
Liliana Marie Prikler skribis: > Am Montag, den 22.11.2021, 14:27 +0100 schrieb Ludovic Courtès: [...] > sexp->canonical-sexp is from the comment surrounding it a rather hacky > beast. I think (guile-)gcrypt could very well benefit from having a > better sexp construction API, but again

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-22 Thread Liliana Marie Prikler
Am Montag, den 22.11.2021, 14:27 +0100 schrieb Ludovic Courtès: > Hi, > > Liliana Marie Prikler skribis: > > > I think we would probably want to improve on this end in the guile- > > gcrypt module, i.e. have a public-key "constructor" that returns a > > canonical-sexp and so on. WDYT? > > I

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-22 Thread Jelle Licht
Ludovic Courtès writes: > Hi, > > Liliana Marie Prikler skribis: > >> I think we would probably want to improve on this end in the guile- >> gcrypt module, i.e. have a public-key "constructor" that returns a >> canonical-sexp and so on. WDYT? > > I don’t find it very compelling given there’s

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-22 Thread Ludovic Courtès
Hi, Liliana Marie Prikler skribis: > I think we would probably want to improve on this end in the guile- > gcrypt module, i.e. have a public-key "constructor" that returns a > canonical-sexp and so on. WDYT? I don’t find it very compelling given there’s already ‘sexp->canonical-sexp’ & co.

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-21 Thread Liliana Marie Prikler
Hi, Am Sonntag, den 21.11.2021, 01:12 +0100 schrieb Jelle Licht: > What about something such as the following? > > --8<---cut here---start->8--- > (use-modules (gcrypt base16) > (gcrypt pk-crypto)) > > (define-record-type >

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-11-20 Thread Jelle Licht
Hey folks, Liliana Marie Prikler writes: > Hi Ludo, > > Am Donnerstag, den 21.10.2021, 22:13 +0200 schrieb Ludovic Courtès: >> Hi! >> >> Liliana Marie Prikler skribis: >> >> > let's say I wanted to add my own substitute server to my >> > config.scm. >> > At the time of writing, I would have

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-10-21 Thread Liliana Marie Prikler
Hi Ludo, Am Donnerstag, den 21.10.2021, 22:13 +0200 schrieb Ludovic Courtès: > Hi! > > Liliana Marie Prikler skribis: > > > let's say I wanted to add my own substitute server to my > > config.scm. > > At the time of writing, I would have to add said server's public > > key to > > the

Re: Using G-Expressions for public keys (substitutes and possibly more)

2021-10-21 Thread Ludovic Courtès
Hi! Liliana Marie Prikler skribis: > let's say I wanted to add my own substitute server to my config.scm. > At the time of writing, I would have to add said server's public key to > the authorized-keys of my guix-configuration like so: > (cons* (local-file "my-key.pub")

Using G-Expressions for public keys (substitutes and possibly more)

2021-10-17 Thread Liliana Marie Prikler
Hi Guix, let's say I wanted to add my own substitute server to my config.scm. At the time of writing, I would have to add said server's public key to the authorized-keys of my guix-configuration like so: (cons* (local-file "my-key.pub") %default-authorized-guix-keys) or similarily with append.