diff options
author | Gibheer <gibheer+github@zero-knowledge.org> | 2017-05-20 14:41:57 +0200 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-05-20 08:41:57 -0400 |
commit | 1a4ba4c39086b10c6b2e34e5513d5a2f214d08d8 (patch) | |
tree | 843d712cd6e6131481e946e4a34352cfa9b184d3 /models/mirror.go | |
parent | 0a6ceabb9baa4f0058f4403b392b8fda845a5d5a (diff) |
models/ssh_key: don't run ssh-keygen check if disabled (#4519)
* don't load key when key size should not be checked
This makes it possible for users with incompatible ssh-keygen versions
to just disable the check completely without running into errors.
* add proper ed25519 constant
The x/crypto/ssh library has support for ed25519 now, so it is possible
to support it.
Diffstat (limited to 'models/mirror.go')
0 files changed, 0 insertions, 0 deletions