Mail::D...RC::Seal(3)
π NAME
hey bestie! this is Mail::DKIM::ARC::Seal β it literally represents an ARC-Seal header, and this page comes from the User Contributed Perl Documentation pile (header title vibes: Mail::D...RC::Seal(3)). iconic, honestly. π
β¨ VERSION
version 1.20240923 π
π§ CONSTRUCTORS
new() β create a new signature from parameters
my $signature = Mail::DKIM::ARC::Seal->new(
[ Algorithm => 'rsa-sha256', ]
[ Signature => $base64, ]
[ Domain => 'example.org', ]
[ Instance => 1, ]
[ Chain => 'none', ] # none|fail|pass
[ Query => 'dns', ]
[ Selector => 'alpha', ]
[ Timestamp => time(), ]
[ Expiration => time() + 86400, ]
);
okay so the ARC-Seal is similar to a DKIM signature, but with the following changes:
https://tools.ietf.org/html/draft-ietf-dmarc-arc-protocol-06
5.1.1.1. Tags in the ARC-Seal Header Field Value
these are the only supported tags for an ARC-Seal field, and every single one of them MUST be present. unknown tags MUST be ignored and do not affect the validity of the header. periodt. π«Ά
aβ hash algorithm; syntax is the same as thea=tag defined in Section 3.5 of[RFC6376];bβ digital signature; syntax is the same as theb=tag defined in Section 3.5 of[RFC6376];cvβ chain validation status: valid values:'none'= no pre-existing chain;'fail'= the chain as received does not or can not validate; or'pass'= valid chain received.
dβ domain for key; syntax is the same as thed=tag defined in Section 3.5 of[RFC6376];iβ "instance" or sequence number; monotonically increasing at each "sealing" entity, beginning with'1', see Section 5.1.1.1.1 regarding the valid rangesβ selector for key; syntax is the same as thes=tag defined in Section 3.5 of[RFC6376];tβ timestamp; syntax is the same as thet=tag defined in Section 3.5 of[RFC6376].
chain() β get or set the chain parameter (cv=) field
this must be one of "pass", "fail" or "none". for a chain to be valid, the very first (i=1) seal MUST be cv=none, and all further seals MUST be cv=pass. no cap, that's the rule. π₯
instance() β get or set the signing instance (i=) field
my $i = $signature->instance;
instances must be integers less than 1024 according to the spec. π¦
π SEE ALSO
Mail::DKIM::Signaturefor DKIM-Signature headersMail::DKIM::ARC::MessageSignaturefor ARC-Message-Signature headers
π AUTHORS
shoutout to these absolute legends:
- Jason Long
<jason@long.name> - Marc Bradshaw
<marc@marcbradshaw.net> - Bron Gondwana
<brong@fastmailteam.com>(ARC)
πΈ THANKS
work on ensuring that this module passes the ARC test suite was generously sponsored by Valimail (https://www.valimail.com/) π
π COPYRIGHT AND LICENSE
- Copyright (C) 2013 by Messiah College
- Copyright (C) 2010 by Jason Long
- Copyright (C) 2017 by Standcore LLC
- Copyright (C) 2020 by FastMail Pty Ltd
this library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. π«Ά
okay bye bestie β this page was rendered by perl v5.42.0 on 2024-09-23, straight from Mail::D...RC::Seal(3) πβ¨
π¦ where this page comes from
- alpine 3.23: perl-mail-dkim-doc 1.20240923-r0 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- opensuse-leap 16.0: perl-Mail-DKIM 1.20240923-bp160.1.2 Β· Artistic-1.0 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