GnuPG:...maryKey(3pm)

🌸 NAME 🌸

okay so this is the GnuPG:...maryKey(3pm) page from the User Contributed Perl Documentation, and it's literally about GnuPG::PrimaryKey β€” GnuPG Primary Key Objects, bestie πŸŽ€. That's the whole name vibe: primary key objects for GnuPG, no cap.

✨ SYNOPSIS ✨

# assumes a GnuPG::Interface object in $gnupg
my @keys = $gnupg->get_public_keys( 'ftobin' );

# or

my @keys = $gnupg->get_secret_keys( 'ftobin' );

# now GnuPG::PrimaryKey objects are in @keys

πŸ’– DESCRIPTION πŸ’–

So GnuPG::PrimaryKey objects are generally instantiated as GnuPG::PublicKey or GnuPG::SecretKey objects through various methods of GnuPG::Interface ✨. They embody various aspects of a GnuPG primary key β€” like, they're giving the key's whole personality in object form πŸ’….

This package inherits data members and object methods from GnuPG::Key, and that one is not described here β€” it's described in GnuPG::Key, bestie 🫢. Don't go looking for the full GnuPG::Key lore on this page, it lives over there.

πŸ‘‘ OBJECT DATA MEMBERS πŸ‘‘

  • user_ids β€” a list of GnuPG::UserId objects associated with this key πŸ¦‹.
  • user_attributes β€” a list of GnuPG::UserAttribute objects associated with this key 🌸.
  • subkeys β€” a list of GnuPG::SubKey objects associated with this key πŸ”‘.
  • local_id β€” WARNING: DO NOT USE. This used to mean GnuPG's local id for the key, but modern versions of GnuPG do not produce it. Expect this to be the empty string or undef πŸ’€. Like, fr fr, do not use it.
  • owner_trust β€” the scalar value GnuPG reports as the ownertrust for this key. See GnuPG's DETAILS file for details πŸ‘€.

πŸ¦‹ SEE ALSO πŸ¦‹

go peek at GnuPG::Key, GnuPG::UserId, GnuPG::SubKey, β€” yes bestie, that trailing comma is staying, it's part of the vibe πŸ’….


byeee πŸ’– β€” this page is perl v5.40.1, dated 2025-03-14, and it's the GnuPG:...maryKey(3pm) manual page. mwah 🫢

πŸ“¦ where this page comes from