lib, pgp: Remove direct logger usage

This cleans things up a little bit more.
This commit is contained in:
James Shubin
2024-03-22 02:01:30 -04:00
parent e0d6d35b56
commit 3541954df8
2 changed files with 7 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ import (
"crypto"
"encoding/base64"
"io"
"log"
"os"
"strings"
@@ -81,7 +80,6 @@ func Import(privKeyPath string) (*PGP, error) {
Entity: entity,
}
log.Printf("PGP: Imported key: %s", obj.Entity.PrivateKey.KeyIdShortString())
return obj, nil
}
@@ -101,7 +99,6 @@ func Generate(name, comment, email string, hash *crypto.Hash) (*PGP, error) {
Entity: entity,
}
log.Printf("PGP: Created key: %s", obj.Entity.PrivateKey.KeyIdShortString())
return obj, nil
}