Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create user with Ed25519-sk SSH key. #181

Open
Zelaf opened this issue Aug 23, 2023 · 2 comments
Open

Cannot create user with Ed25519-sk SSH key. #181

Zelaf opened this issue Aug 23, 2023 · 2 comments

Comments

@Zelaf
Copy link
Contributor

Zelaf commented Aug 23, 2023

I tried running the script with an existing ED25519-sk key and it refused because the SSH key was Ed25519-sk.

 Does this look correct? [Y/n] y

 Creating your account...  Account creation failed: {
    "message": {
        "key": "Expected ecdsa-sha2-nistp256, ecdsa-sha2-nistp384, ecdsa-sha2-nistp521, ssh-rsa, ssh-dss, or ssh-ed25519"
    }
}
 
 If you think this is a bug, please report it to 
 -> https://github.com/hashbang/hashbang.sh/issues/
 
 The installer will not continue from here...
@RyanSquared
Copy link
Member

Related: https://github.com/hashbang/hashbang.sh/blob/master/server.py#L37-L38

This list is incompatible with what we have in userdb and should be either updated or removed.

@RyanSquared
Copy link
Member

We could expose SELECT enum_range(null::ssh_key_type) in postgrest api v1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants