GnuPG::SubKey(3pm)

πŸ’œ GnuPG::SubKey β€” GnuPG Sub Key objects πŸ’œ

okay so this is the GnuPG::SubKey(3pm) page, straight outta User Contributed Perl Documentation β€” bestie, we're in the Perl-adjacent corner of the GnuPG universe and it's honestly kinda iconic here πŸŽ€


✨ SYNOPSIS ✨

# assumes a GnuPG::PublicKey object in $key
my @subkeys = $key->subkeys();

# now GnuPG::SubKey objects are in @subkeys

no cap, that's the whole vibe check β€” you start with a GnuPG::PublicKey object chillin' in $key, you call subkeys() on it, and boom πŸ’₯ you got a whole squad of GnuPG::SubKey objects in @subkeys. slay.


🌸 DESCRIPTION 🌸

So like, GnuPG::SubKey objects are generally instantiated through various methods of GnuPG::Interface β€” they don't really just show up on their own, iykyk. They embody various aspects of a GnuPG sub key πŸ¦‹

And here's the tea: this package inherits data members and object methods from GnuPG::Key, which are not described here β€” nope, they're described over in GnuPG::Key. so if you're looking for the inherited stuff, go read that one, bestie 🫢


πŸ‘‘ OBJECT DATA MEMBERS πŸ‘‘

πŸ’… validity

A scalar holding the value GnuPG reports for the trust of authenticity (a.k.a.) validity of a key. See GnuPG's DETAILS file for details. fr fr, the DETAILS file is where the lore lives πŸ“œ

⭐ local_id

GnuPG's local id for the key. that's it, that's the whole thing πŸ’–

🌈 owner_trust

The scalar value GnuPG reports as the ownertrust for this key. See GnuPG's DETAILS file for details. yep, same file, same lore 🧚

πŸ’€ signature

* DEPRECATED *

🚨 bestie, this one's deprecated β€” like, don't build your whole personality around it, okay? 🚨

A GnuPG::Signature object holding the representation of the signature on this key. Please use signatures (see GnuPG::Key) instead of signature.

And why? because if you use signature, you will get an arbitrary signature from the set of available signatures 😭 β€” like literally whichever one it feels like. so yeah, use signatures, the plural one, the main character one πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹

  • GnuPG::Key
  • GnuPG::Signature

that's the page, periodt ✨ mwah, go read GnuPG::Key next, you're gonna eat πŸ’–

πŸŽ€ perl v5.40.1 Β· 2025-03-14 Β· GnuPG::SubKey(3pm) πŸŽ€ β€” okay bye bestie, stay slaying those sub keys πŸ’…πŸŒΈ

πŸ“¦ where this page comes from