1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-22 07:34:26 +00:00
silverwind b10109ffe8 Improve SSH key parser to handle newlines in keys (#7522)
* Strip newlines from SSH keys before adding them

Fixes: https://github.com/go-gitea/gitea/issues/7500

* add test for CheckPublicKeyString

* add one more test

* simplify test

* further simplify

* make fmt
2019-07-23 16:25:06 +03:00
..
2017-05-04 13:54:56 +08:00
2019-04-15 20:32:15 -04:00
2019-06-12 15:41:28 -04:00
2018-10-27 22:45:24 +08:00
2018-05-09 19:29:04 +03:00
2019-07-06 15:24:50 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-05-04 11:45:34 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2018-10-20 18:19:21 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00
2019-06-12 15:41:28 -04:00