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:
- User has
ecdsa-sha2-nistp256 key or generates new key with ssh-keygen -t ecdsa ...
- Go to User preferences
- 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) |
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:
ecdsa-sha2-nistp256key or generates new key withssh-keygen -t ecdsa ...ecdsa-sha2-nistp256 c3NoIGtleSBkYXRhLCBwIGFuZCBxCg== commentActual behavior
500 INTERNAL SERVER ERRORis shown bellow +Add buttonExpected behavior
Key is stored.
Additional context
Definition of the key type column.
beaker/Server/bkr/server/model/identity.py
Line 990 in 6fc33b0