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::KeyGnuPG::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
- debian trixie: libgnupg-interface-perl 1.04-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgnupg-interface-perl 1.04-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgnupg-interface-perl 1.04-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms