gitea/models
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
7ef9a055886574655d9f2be70c957bc16bf30500. 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
..
cron
migrations
access.go
action.go #2630 fix wrong user avatar link in webhook 2016-02-15 15:18:53 -05:00
admin.go Workaroud delete folder on Windows. Fix #1738 2016-02-07 13:39:32 -02:00
error.go
git_diff_test.go go fmt models/git_diff_test.go 2016-02-04 17:55:17 -02:00
git_diff.go Enable sintax highlighting on diff view. Close #733 2016-02-04 18:21:47 -02:00
issue.go regulate timezone for milestone.deadline 2016-02-06 00:08:02 +01:00
login.go
models_sqlite.go
models_tidb.go
models.go fix dependency broken because xorm's API changed 2016-02-16 22:35:08 +08:00
org.go Minor fix for #2578 2016-02-14 20:36:03 -05:00
pull.go
release.go
repo_branch.go
repo.go Minor fix for #2624 2016-02-15 14:57:15 -05:00
ssh_key_test.go allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
ssh_key.go allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
token.go
update.go
user.go Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
webhook_slack.go
webhook.go #2485 fix payloads mixed up for webhook 2016-02-10 15:21:39 -05:00
wiki.go