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
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
..
cron
migrations fix possible disclosure 2015-12-14 17:06:54 -05:00
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 Minor fix for #2506 2016-02-02 17:07:40 -05:00
git_diff.go Enable sintax highlighting on diff view. Close #733 2016-02-04 18:21:47 -02:00
git_diff_test.go go fmt models/git_diff_test.go 2016-02-04 17:55:17 -02:00
issue.go regulate timezone for milestone.deadline 2016-02-06 00:08:02 +01:00
login.go #2349 fix convert type 2016-01-11 15:47:23 +08:00
models.go fix dependency broken because xorm's API changed 2016-02-16 22:35:08 +08:00
models_sqlite.go
models_tidb.go
org.go Minor fix for #2578 2016-02-14 20:36:03 -05:00
pull.go Add missing patch conflit pattern 2016-02-03 12:28:03 -05:00
release.go rename import path 2015-12-15 17:25:45 -05:00
repo.go Minor fix for #2624 2016-02-15 14:57:15 -05:00
repo_branch.go Minor fix for #2506 2016-02-02 17:07:40 -05:00
ssh_key.go allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
ssh_key_test.go allow native and ssh-keygen public key check 2016-02-16 23:01:56 +01:00
token.go typo fix 2016-01-06 22:41:42 +03:00
update.go rename import path 2015-12-15 17:25:45 -05:00
user.go Remove cache avatar support and add its tests 2016-02-14 23:14:55 -05:00
webhook.go #2485 fix payloads mixed up for webhook 2016-02-10 15:21:39 -05:00
webhook_slack.go rename import path 2015-12-15 17:25:45 -05:00
wiki.go Removed empty line, multi return args 2015-12-20 21:13:12 +01:00