GnuPG:...ribute(3pm)
π NAME π
Bestie, meet GnuPG::UserAttribute β the GnuPG User Attribute Objects page. This one's hanging out in the User Contributed Perl Documentation manual under the page name GnuPG:...ribute(3pm).
β¨ SYNOPSIS β¨
Okay so picture this: you've already got a GnuPG::PublicKey object chilling in $publickey. You want that subpacket total size? It's giving:
# assumes a GnuPG::PublicKey object in $publickey
my $jpgs_size = $publickey->user_attributes->[0]->subpacket_total_size();
πΈ DESCRIPTION πΈ
GnuPG::UserAttribute objects are lowkey not something you instantiate all by themselves. They show up as part of GnuPG::PublicKey or GnuPG::SecretKey objects. Periodt. π
π οΈ OBJECT METHODS π οΈ
β new( %initialization_args ) β
This method creates a new object. The optional arguments? They're for initializing data members. Easy peasy.
π OBJECT DATA MEMBERS π
π¦ validity π¦
A scalar holding the value GnuPG reports for the calculated validity of the binding between this User Attribute packet and its associated primary key. For the full tea, check GnuPG's DETAILS file.
π subpacket_count π
A scalar holding the number of attribute subpackets. Usually that's 1, because most UATs seen in the wild contain a single image in JPEG format. Iconic.
π₯ subpacket_total_size π₯
A scalar holding the total byte count of all attribute subpackets. That's the whole size vibe.
π signatures π
A list of GnuPG::Signature objects embodying the signatures on this user attribute.
π revocations π
A list of revocations associated with this User Attribute, stored as GnuPG::Signature objects (since revocations are a type of certification as well).
π BUGS π
No useful information about the embedded attributes is provided yet. It would be nice to be able to get ahold of the raw JPEG material. Bestie, we're manifesting it. π
π SEE ALSO π
GnuPG::Signature,
This page is from perl v5.40.1, dated 2025-03-14, and it's the GnuPG:...ribute(3pm) page. Bye bestie, slay your GnuPG journey! π
π¦ 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