Skip to content

Commit

Permalink
minor keystore refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ardan-bkennedy committed Jan 21, 2024
1 parent f99b927 commit 3f78400
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
7 changes: 0 additions & 7 deletions foundation/keystore/keystore.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,6 @@ func New(log *zap.SugaredLogger) *KeyStore {
}
}

// NewMap constructs a KeyStore with an initial set of keys.
func NewMap(store map[string]privateKey) *KeyStore {
return &KeyStore{
store: store,
}
}

// LoadAuthKeys loads a set of RSA PEM files rooted inside of a directory. The
// name of each PEM file will be used as the key id.
func (ks *KeyStore) LoadAuthKeys(folder string) error {
Expand Down
27 changes: 0 additions & 27 deletions foundation/keystore/test.pem

This file was deleted.

0 comments on commit 3f78400

Please sign in to comment.