forgejo-federation/modules
Gibheer 12403bdfb0 allow native and ssh-keygen public key check
This commit adds the possibibility to use either the native golang
libraries or ssh-keygen to check public keys. The check is adjusted
depending on the settings, so that only supported keys are let through.

This commit also brings back the blacklist feature, which was removed in
7ef9a05588. This allows to blacklist
algorythms or keys based on the key length. This works with the native
and the ssh-keygen way.

Because of #2179 it also includes a way to adjust the path to
ssh-keygen and the working directory for ssh-keygen. With this,
sysadmins should be able to adjust the settings in a way, that SELinux
is okay with it. In the worst case, they can switch to the native
implementation and only loose support for ed25519 keys at the moment.
There are some other places which need adjustment to utilize the
parameters and the native implementation, but this sets the ground work.
2016-02-16 23:01:56 +01:00
..
auth Make log path required 2016-02-12 10:10:02 -05:00
avatar Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
base Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
bindata Minor fix for #2624 2016-02-15 14:57:15 -05:00
cron go vet and fix #1890 2015-11-08 14:31:49 -05:00
httplib Remove unused tests 2016-02-13 18:11:15 -05:00
log Add env var check for update 2016-02-15 23:11:22 -05:00
mailer make mailer log more verbose 2015-12-19 02:44:34 -05:00
middleware Minor fix for #2530 2016-02-04 13:03:34 -05:00
process introduce git-shell 2015-11-26 17:33:45 -05:00
setting allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
ssh Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
template Implementing the "theme-color" meta tag. 2016-02-08 17:03:18 -02:00
user Factor out function to get the current user 2015-08-15 10:05:12 +02:00
uuid Add uuid 2014-06-29 16:39:06 -04:00