1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
Dan Magnus Lindvall 79daf31058 Setting to disable authorized_keys backup (#1856)
* Add setting to disable authorized_keys backup when rewriting public keys

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Update default value to comply with documentation

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Use tmp-file instead of bak-file for saving manually added keys.

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change casing

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change casing and build bakpath with sprintf only

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Only close file once

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Do not modify calcFingerprint

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Fix casing

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change style from disable to enable

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Change name, just SSH_BACKUP_AUTHORIZED_KEYS

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>

* Do not check for directory existence if backup is disabled

Signed-off-by: Magnus Lindvall <magnus@dnmgns.com>
2017-06-28 09:35:35 +08:00
..
2017-01-09 21:49:51 +01: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-12 10:01:09 -05:00
2017-06-09 09:51:31 +08:00
2017-06-04 13:39:08 -04:00
2017-04-01 10:05:58 -03:00
2017-04-01 09:58:20 -03:00
2017-06-04 14:28:17 -04:00
2014-04-13 03:14:43 -04:00
2017-03-22 22:30:40 +08:00
2017-05-04 13:54:56 +08:00
2017-06-22 09:06:57 +08:00
2017-05-18 22:54:24 +08:00
2017-04-21 19:32:31 +08:00
2017-06-15 05:09:03 +02:00
2017-05-18 22:54:24 +08:00
2017-01-05 08:50:34 +08:00
2017-05-29 02:17:15 -05:00
2017-05-30 04:32:01 -05:00