Issue tracker moved to https://gitlab.archlinux.org/archlinux/aurweb/-/issues
FS#45446 - AUR4 does not accept SSH pub key with LF chars
Attached to Project:
AUR web interface
Opened by Milan Knížek (MilanKnizek) - Wednesday, 24 June 2015, 08:52 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 27 June 2015, 11:53 GMT
Opened by Milan Knížek (MilanKnizek) - Wednesday, 24 June 2015, 08:52 GMT
Last edited by Lukas Fleischer (lfleischer) - Saturday, 27 June 2015, 11:53 GMT
|
DetailsWhen I tried to provide my pub key to the new AUR4 web interface, the server refused to update the key (invalid SSH pubkey).
It appears the problem is that it cannot deal with LF chars in the key (I copied the key from Midnight Commander built-in viewer in mate-terminal). Opening in pluma (equivalent to gedit) and copying from there worked okay. It may be usefull to add "Load from file" option to the web interface. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Saturday, 27 June 2015, 11:53 GMT
Reason for closing: Not a bug
Saturday, 27 June 2015, 11:53 GMT
Reason for closing: Not a bug
It is clear to me that the $HOME/.ssh/authorized_keys expects the keys to use just a single line, however the web interface for copy&paste is not an authorized_key file...