1
1
mirror of https://github.com/go-gitea/gitea synced 2025-02-02 04:54:34 +00:00
Gibheer bc84110989 don't check minimum key size when disabled (#1754)
* cleanup old comments for ed25519

These comments were added when x/crypto/ed25519 could not yet handle
ed25519. It does now, so it should be removed.
Also the key type is now replaced with the proper constant.

* move the minimum key size config before the check

This moves the actual config lookup before any check is done. This
avoids problems with calling to ssh-keygen which doesn't support the
expected output format and returning an error, when the check is disabled.
2017-10-26 09:49:41 +08:00
..
2017-10-26 08:49:16 +08:00
2017-05-26 09:38:18 +08:00
2017-05-04 13:54:56 +08:00
2017-06-12 10:01:09 -05:00
2017-01-03 10:52:09 +08:00
2017-02-22 17:10:45 -05:00
2017-06-09 09:51:31 +08:00
2014-04-13 03:14:43 -04:00
2017-03-22 22:30:40 +08:00
2017-10-26 08:49:16 +08:00
2017-09-12 09:48:13 +03:00
2017-10-02 23:22:25 +03:00
2017-10-26 09:37:33 +08:00
2017-09-21 10:43:26 +03:00
2017-10-26 09:37:33 +08:00
2017-05-30 04:32:01 -05:00