Commit Graph

6 Commits (aa60cd91b2ba1d00446144f47214f96fe46466f1)

Author SHA1 Message Date
6543 54e9ee37a7
format with gofumpt ()
* gofumpt -w -l .

* gofumpt -w -l -extra .

* Add linter

* manual fix

* change make fmt
techknowlogick 2dae5b715c
Fix keys test ()
zeripath 4c6ac08182
Completely quote AppPath and CustomConf paths ()
* Completely quote AppPath and CustomConf paths

Properly handle spaces in AppPath and CustomConf within hooks and
authorized_keys. Unfortunately here we don't seem to be able to get away
with using go-shellquote as it appears that Windows doesn't play too
well with singlequote quoting - therefore we will avoid singlequote
quoting unless we absolutely cannot get away without it, e.g. \n or !.

Fix 

Signed-off-by: Andrew Thornton <art27@cantab.net>

* missing change

Signed-off-by: Andrew Thornton <art27@cantab.net>

* fix Test_CmdKeys

Signed-off-by: Andrew Thornton <art27@cantab.net>
zeripath 453f6e6e5a
In authorized_keys use double-quote for windows compatibility ()
Co-authored-by: Lauris BH <lauris@nix.lv>
zeripath d1a49977b0 AuthorizedKeysCommand should not query db directly ()
* AuthorizedKeysCommand should not query db directly

* Update routers/private/internal.go

* Fix import order
Antoine GIRARD 8bea92c3dc test: command keys ()