add signing key

This commit is contained in:
2022-09-12 14:38:15 +02:00
parent b5aaaa0195
commit 56bfba5c17
8 changed files with 137 additions and 17 deletions

View File

@@ -5,6 +5,7 @@ import (
"git.front.kjuulh.io/kjuulh/curre"
"git.front.kjuulh.io/kjuulh/kraken/internal/serverdeps"
"git.front.kjuulh.io/kjuulh/kraken/internal/services/signer"
"go.uber.org/zap"
)
@@ -16,5 +17,6 @@ func Start(logger *zap.Logger) error {
return curre.NewManager().
Register(NewGinHttpServer(logger.With(zap.Namespace("ginHttpServer")), deps)).
Register(NewStorageServer(logger.With(zap.Namespace("storageServer")), deps)).
Register(signer.NewOpenPGPApp(deps.GetOpenPGP())).
Run(ctx)
}