Skip to content

Commit

Permalink
these were annoying me
Browse files Browse the repository at this point in the history
  • Loading branch information
sudosammy committed Jan 24, 2022
1 parent b2a71b5 commit 78a48e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libknary/lego/accounts_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ func (s *AccountsStorage) GetPrivateKey(keyType certcrypto.KeyType) crypto.Priva
accKeyPath := s.keyFilePath

if _, err := os.Stat(accKeyPath); os.IsNotExist(err) {
log.Printf("No key found for account %s. Generating a %s key.", s.userID, keyType)
// log.Printf("No key found for account %s. Generating a %s key.", s.userID, keyType)

privateKey, err := generatePrivateKey(accKeyPath, keyType)
if err != nil {
log.Fatalf("Could not generate RSA private account key for account %s: %v", s.userID, err)
}

log.Printf("Saved key to %s", accKeyPath)
// log.Printf("Saved key to %s", accKeyPath)
return privateKey
}

Expand Down

0 comments on commit 78a48e3

Please sign in to comment.