Skip to content

Commit 497a640

Browse files
committed
Remove debug print statement for signature key and fix comment typo in key parsing logic
1 parent 5681091 commit 497a640

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -285,9 +285,7 @@ func loop() {
285285
if len(*signatureKey) == 0 {
286286
log.Panicf("signature public key cannot be empty")
287287
}
288-
fmt.Println("Signature key:", *signatureKey)
289-
290-
// when a public key is read fro the .ini file, the '\n' are escape with an additional '\', we need to replace them with '\n'
288+
// when a public key is read from the .ini file, the '\n' are escape with an additional '\', we need to replace them with '\n'
291289
signaturePubKey, err := utilities.ParseRsaPublicKey(strings.ReplaceAll(*signatureKey, "\\n", "\n"))
292290
if err != nil {
293291
log.Panicf("cannot parse signature key '%s'. %s", *signatureKey, err)

0 commit comments

Comments
 (0)