fingerprintString returns the fingerprint (40 characters) capital hex GPG key ID of the provided public key.
(pubKey *packet.PublicKey)
| 51 | // fingerprintString returns the fingerprint (40 characters) capital hex GPG |
| 52 | // key ID of the provided public key. |
| 53 | func fingerprintString(pubKey *packet.PublicKey) string { |
| 54 | return fmt.Sprintf("%X", pubKey.Fingerprint) |
| 55 | } |
| 56 | |
| 57 | func openArmoredPublicKeyFile(reader io.ReadCloser) (*packet.PublicKey, error) { |
| 58 | defer reader.Close() |
no outgoing calls
no test coverage detected