The sound distributed version control system

#753 Documentations on keys is not clear

Opened by iopq on January 19, 2023
iopq on January 19, 2023

I run

pijul key generate *name* then I add a password

I get some keys somewhere, but it’s not clear where. I find some stuff in ~/.config/pijul

It’s a json, so I paste the whole public key into the Nest field, it doesn’t like it. I paste the “key” portion and it doesn’t like it.

it just keeps saying Your key seems invalid. See the help pages about keys.

The help page doesn’t mention this error or what I should put in that text field other than:

 Uploading public keys

 Pijul and the Nest use two kinds of keypairs (public and secret): keys for signing patches, and keys for SSH access.

Then it goes on to say

SSH public keys

The Nest’s profile settings page contains a field to add SSH public keys. At the moment, supported formats are Ed25519 and RSA. Pijul can handle password-protected keys, and can talk to SSH agents.

But it doesn’t work when I add the public key in the Ed25519 format

I’m not sure, should I give the private key to Nest or public?

joyously yesterday at 12:15

Are you referring to or to the help text from pijul help key? Both refer to the pijul key prove command, but obviously it needs to be made clearer.

iopq today at 03:00

Ah, yes, I wasn’t sure how to do it because I needed to create a password. I signed up with Github so when I entered the key password it didn’t work

iopq today at 03:05

I did the prove thing

pijul key prove
Password for 
Password for "/home/iopq/.config/pijul/secretkey.json": 

now what? When I try to push

pijul push
Password for 
Repository not found, or insufficient permissions
Error: Remote exited with status 1