code: func PGPKeyID(pgpkey string) (string, error) {
  	keys, err := openpgp.ReadArmoredKeyRing(bytes.NewBufferString(pgpkey))
  	if err != nil {
  		return "", err
  	}
  	if len(keys) != 1 {
  		return "", fmt.Errorf("key count mismatch: have %d, want %d", len(keys), 1)
  	}
  	return keys[0].PrimaryKey.KeyIdString(), nil
  }
docs: // PGPKeyID parses an armored key and returns the key ID.