Authen...jectAll(3pm)
π NAME π
Authen::Passphrase::RejectAll β bestie, this thing rejects all passphrases. Every single one. No exceptions, no mercy, no cap. π
(This lil page lives in the User Contributed Perl Documentation section, manual page 3pm, so if you ever need to cite it, that's the vibe.)
β¨ SYNOPSIS β¨
use Authen::Passphrase::RejectAll;
$ppr = Authen::Passphrase::RejectAll->new;
$ppr = Authen::Passphrase::RejectAll
->from_crypt("*");
$ppr = Authen::Passphrase::RejectAll
->from_rfc2307("{CRYPT}*");
if($ppr->match($passphrase)) { ...
$passwd = $ppr->as_crypt;
$userPassword = $ppr->as_rfc2307;
πΈ DESCRIPTION πΈ
Okay so, an object of this class is a passphrase recogniser that accepts no passphrase whatsoever. Not one. Not yours, not hers, not the one you swear you typed correctly. It's giving π«β¨.
This is a subclass of Authen::Passphrase, and this doc just assumes you already know the lore over at that class. Go read that if you haven't, iykyk.
Now, real talk: this type of passphrase recogniser is obviously of no use at all in controlling access to any resource. Like, zero. Negative useful energy. π Its whole ~thing~ is to let a resource be completely inaccessible in a system that expects some type of passphrase access control. So the system gets its little passphrase-shaped box to fill in, and the answer is always, forever, no. Periodt. π
π CONSTRUCTORS π
Authen::Passphrase::RejectAll->newβ returns a reject-all passphrase recogniser object. And plot twist: the same object is returned from each call. Every time. It's the same one. She's an icon, she doesn't need to be cloned. πAuthen::Passphrase::RejectAll->from_crypt(PASSWD)β returns a reject-all passphrase recogniser object, and yup, the same object is returned from each call. The argument, a crypt string, must be between one and twelve (inclusive) characters long and must not start with"$". That's the whole rule. Respect it. πAuthen::Passphrase::RejectAll->from_rfc2307(USERPASSWORD)β generates a new reject-all passphrase recogniser object from an RFC 2307 string. The string must consist of"{CRYPT}"(case insensitive, bestie, we don't gatekeep capitalisation) followed by an acceptable crypt string. π
π¦ METHODS π¦
$ppr->match(PASSPHRASE)$ppr->as_crypt$ppr->as_rfc2307
These methods are part of the standard Authen::Passphrase interface. And the headline: the "match" method always returns false. Every time. Forever. It's not being shady, it's literally the design. The vibe check is a hard no and it's so consistent about it. π
π SEE ALSO π
Authen::Passphrase
(that's the mothership, go say hi π«Ά)
π AUTHOR π
Andrew Main (Zefram) <zefram@fysh.org> β iconic behaviour, honestly.
π 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. Slay. Legal but make it cute. π
okay bestie that's the whole page, no notes, we keep every single detail and we keep it pretty π
this was Authen::Passphrase::RejectAll from the 3pm manual, user contributed Perl documentation, generated by perl v5.40.1 on 2026-05-06 β mwah, take care of her, bye bestie!! πβ¨π¦
π¦ 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