Implement database driver mapping (#64)

* add ignore

* add initial password auth for db upstream driver

* handle unknown authtype with database driver

* use already present constants in switch

* add cmd line option to set authtype with db driver

* add mapping capabilities to database driver

* remove unused stuff

* further cleanup

* remove commented line

* fix a few issues with db structure

* remove unused struct

* fix pr comments
This commit is contained in:
Michele Palazzi 2021-04-29 19:32:59 +02:00 • committed by GitHub
parent 2d99bdd836
commit 5072b7d8d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 288 additions and 63 deletions

3
.gitignore vendored
View file

@ -6,6 +6,7 @@
# Folders
_obj
_test
.vscode/
# Architecture specific extensions/prefixes
#*.[568vq]
@ -25,3 +26,5 @@ _testmain.go
sshpiperd/example/sshpiperd_key*
sshpiperd/snap
sshpiperd/sshpiperd
sshpiperd/__debug_bin
sshpiperd/sshpiperd.ini