Validate ssh keys as they are entered in the profile
authorMagnus Hagander <magnus@hagander.net>
Fri, 9 Mar 2018 20:14:32 +0000 (15:14 -0500)
committerMagnus Hagander <magnus@hagander.net>
Fri, 9 Mar 2018 20:15:33 +0000 (15:15 -0500)
commitb1aa5e1f215fc2015c11007ecedae5f7ff21570c
treec3c0d0cef85f3b327cc8e737b17753246b00a5b8
parent7576a971089493ee40f3ab795ef1f3259c3f9dd8
Validate ssh keys as they are entered in the profile

In particular, reject ssh-dss keys here. They don't work anymore since
an upgrade, for security reasons, but there was not really a way for the
user to know why. With this they will at least know if when they try to
save or change the keys.
pgweb/core/models.py