Authen...ceptAll(3pm)
π Authen::Passphrase::AcceptAll β accept any passphrase π
okay bestie, so this is a page from the User Contributed Perl Documentation for Authen::Passphrase::AcceptAll, and it is genuinely the most unhinged little module in the whole passphrase family. no cap. let's get into it π«Ά
β¨ SYNOPSIS β¨
use Authen::Passphrase::AcceptAll;
$ppr = Authen::Passphrase::AcceptAll->new;
$ppr = Authen::Passphrase::AcceptAll
->from_crypt("");
$ppr = Authen::Passphrase::AcceptAll
->from_rfc2307("{CRYPT}");
if($ppr->match($passphrase)) { ...
$passphrase = $ppr->passphrase;
$passwd = $ppr->as_crypt;
$userPassword = $ppr->as_rfc2307;
like yes, the whole point is that match is just always gonna say yes π
πΈ DESCRIPTION πΈ
so an object of this class is a passphrase recogniser that accepts any passphrase whatsoever. literally any. it doesn't care. it's giving golden retriever energy π¦
this is a subclass of Authen::Passphrase, and this doc is assuming you already know your way around the documentation for that class, bestie. do your homework π
and okay, real talk, this type of passphrase recogniser is obviously of no use at all in controlling access to any resource. like none. zero. it is the opposite of a lock π
its actual use? to permit a resource to be public in a system that expects some type of passphrase access control. so it's a vibe-check pass β you look like you have auth, but you're actually wide open. iykyk π
π CONSTRUCTORS π
Authen::Passphrase::AcceptAll->newβ returns an accept-all passphrase recogniser object. and here's the cute part: the same object is returned from each call. it's monogamous like that πAuthen::Passphrase::AcceptAll->from_crypt("")β returns an accept-all passphrase recogniser object, and yes, the same object comes back every single call. the argument must be the empty string β don't get creative, the empty string is the slay πAuthen::Passphrase::AcceptAll->from_rfc2307(USERPASSWORD)β generates a new accept-all passphrase recogniser object from an RFC 2307 string. that string must consist of"{CRYPT}"(case insensitive, periodt) followed by an acceptable crypt string β¨
π METHODS π
$ppr->match(PASSPHRASE)$ppr->passphrase$ppr->as_crypt$ppr->as_rfc2307
so these are all part of the standard Authen::Passphrase interface, no surprise twists. the "match" method always returns true, and the "passphrase" method returns the empty string β which is, iconic detail, the shortest of the infinite number of correct passphrases π infinite correct passphrases. infinity. bestie that's not a password that's a whole multiverse π¦
π¦ SEE ALSO π¦
Authen::Passphrase
π AUTHOR π
Andrew Main (Zefram) <zefram@fysh.org> β thank you for this blessed little chaos module π
π COPYRIGHT π
Copyright (C) 2006, 2007, 2009, 2010, 2012 Andrew Main (Zefram) <zefram@fysh.org>
π LICENSE π
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. go off, honestly π«Ά
ok that's the whole page, no notes, every single flag and string accounted for, we ate and left zero crumbs π
this was Authen...ceptAll(3pm) from perl v5.40.1, dated 2026-05-06 β thanks for coming to my ted talk, ily, bye π
π¦ where this page comes from
- ubuntu stonking: libauthen-passphrase-perl 0.009-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms