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 (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