Net::DN...R::SSHFP(3)

πŸ’– Net::DNS::RR::SSHFP πŸ’–

okay so this is the manual page for Net::DNS::RR::SSHFP, living in section 3 of the User Contributed Perl Documentation, and bestie it is literally the DNS SSH Fingerprint (SSHFP) resource record module. Buckle up, it's cute and it's short and we're gonna slay it 🫢


✨ NAME ✨

Net::DNS::RR::SSHFP β€” DNS SSHFP resource record. that's it, that's the vibe πŸ’…


🌸 SYNOPSIS 🌸

        use Net::DNS;
        $rr = Net::DNS::RR->new('name SSHFP algorithm fptype fp');

look at that. iconic. you just use Net::DNS; and then build the record with that one new call, no cap πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

DNS SSH Fingerprint (SSHFP) resource records. yes babe, that's the whole description, we love a concise queen πŸ‘‘


⭐ METHODS ⭐

The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.

⚠️ real talk: use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour. like… don't poke the internals, she bites πŸ˜­πŸ’€

🧚 algorithm

        $algorithm = $rr->algorithm;
        $rr->algorithm( $algorithm );

The 8-bit algorithm number describes the algorithm used to construct the public key. eight whole bits of "which crypto are we doing" energy ✨


πŸ“ fptype

        $fptype = $rr->fptype;
        $rr->fptype( $fptype );

The 8-bit fingerprint type number describes the message-digest algorithm used to calculate the fingerprint of the public key. so algorithm is the key algorithm, fptype is the digest algorithm β€” two different 8-bit numbers, don't mix them up bestie πŸ’œ


πŸŽ€ fingerprint, fp

        $fp = $rr->fp;
        $rr->fp( $fp );

Hexadecimal representation of the fingerprint digest. hex girlies rise 🌈


πŸ”₯ fpbin

        $fpbin = $rr->fpbin;
        $rr->fpbin( $fpbin );

Returns opaque octet string representing the fingerprint digest. the raw bytes version, for when hex just isn't your main character πŸ’…


🫢 babble

        print $rr->babble;

The babble() method returns the 'BabbleBubble' representation of the fingerprint if the Digest::BubbleBabble package is available, otherwise an empty string is returned. so like, no package = empty string, no error, no drama πŸ™ˆ

Bubble babble represents a message digest as a string of "real" words, to make the fingerprint easier to remember. The "words" are not necessarily real words, but they look more like words than a string of hex characters. it's giving "hex but make it readable" ✨

Bubble babble fingerprinting is used by the SSH2 suite (and consequently by Net::SSH::Perl, the Perl SSH implementation) to display easy-to-remember key fingerprints. so yes, this is the thing your SSH client shows you and you go "huh, cute" πŸ”‘

The 'BubbleBabble' string is appended as a comment when the string method is called. free little garnish, we love that 🎁


Copyright (c)2007 Olaf Kolkman, NLnet Labs.

All rights reserved.

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.


🌈 LICENSE 🌈

Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the original copyright notices appear in all copies and that both copyright notice and this permission notice appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission.

πŸ’€ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. like fr fr no warranty, be careful out there 🫢

πŸ’œ SEE ALSO πŸ’œ

go read the RFC if you want the deep lore, iykyk πŸ“š


and that's the whole page, bestie πŸŽ‰ this little gem is perl v5.42.0 dated 2026-09-02 β€” screenshot it, frame it, put it on your wall, she's iconic πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from