1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/conf
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
..
gitignore #1711 try to indicate sqlite session issue when merge 2015-10-25 18:35:27 -04:00
license fix #2327 2016-01-05 12:43:19 +08:00
locale #2633 fix removed config option 2016-02-16 13:27:02 -05:00
readme complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00
app.ini allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
README.md complate list of gitignores and licenses 2015-08-28 16:44:04 +08:00

Execute following command in ROOT directory when anything is changed:

$ go-bindata -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...

Add -debug flag to make life easier in development(somehow isn't working):

$ go-bindata -debug -o=modules/bindata/bindata.go -ignore="\.DS_Store|README.md" -pkg=bindata conf/...