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

[BUG] Users can not upload ssh keys with new crypto e.g. ecdsa-sha2-nistp256 #181

Open
mdujava opened this issue Oct 12, 2023 · 0 comments
Labels
Milestone

Comments

@mdujava
Copy link
Member

mdujava commented Oct 12, 2023

Describe the bug
Users can not set their ssh key if theirs key type is longer than 16 chars.

Version-Release number
28.*

To Reproduce
Steps to reproduce the behavior:

  1. User has ecdsa-sha2-nistp256 key or generates new key with ssh-keygen -t ecdsa ...
  2. Go to User preferences
  3. Try to add ssh key ecdsa-sha2-nistp256 c3NoIGtleSBkYXRhLCBwIGFuZCBxCg== comment

Actual behavior
500 INTERNAL SERVER ERROR is shown bellow +Add button

Expected behavior
Key is stored.

Additional context
Definition of the key type column.

keytype = Column(Unicode(16), nullable=False)

@mdujava mdujava added the bug label Oct 12, 2023
@StykMartin StykMartin added this to the Future milestone Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants