Skip to content

Commit

Permalink
Update pkg/repo/repo.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hayden B <[email protected]>
Signed-off-by: Slavek Kabrda <[email protected]>
  • Loading branch information
bkabrda and haydentherapper authored Aug 28, 2024
1 parent 9ebc92b commit 1b686a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func getKeyWithDetails(key []byte) (crypto.PublicKey, crypto.Hash, error) {
default:
return 0, 0, fmt.Errorf("unsupported public modulus %d", v.Size())
}
case *ed25519.PublicKey:
case ed25519.PublicKey:
hashFunc = crypto.SHA512
default:
return 0, 0, errors.New("unknown public key type")
Expand Down

0 comments on commit 1b686a2

Please sign in to comment.