Net::SS...Ed25519(3)

πŸ“¦
version 2.144 Β· 4 versions
, in fedora 44

πŸ’– NAME πŸ’–

Net::SSH::Perl::Key::Ed25519 β€” bestie, it's an Ed25519 key object and it's lowkey the moment ✨

So this page lives in the User Contributed Perl Documentation section, and it's the manual page for Net::SS...Ed25519(3), okay? Let's get into it πŸ’…


✨ SYNOPSIS ✨

use Net::SSH::Perl::Key;
my $key = Net::SSH::Perl::Key->new('Ed25519');

That's it. Two lines. Main character energy fr fr πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Net::SSH::Perl::Key::Ed25519 subclasses Net::SSH::Perl::Key so it can implement an OpenSSH key object. The way it does the crypto heavy lifting? It uses code taken from the SUPERCOP ref10 implementation, no cap. And the Net::SSH::Perl::Buffer class is doing a whole lot here too β€” it's used to create blobs, transform those into a key object, and write keys out to an openssh-key-v1 file. Obsessed with her honestly πŸ’œ


🌸 USAGE 🌸

Net::SSH::Perl::Key::Ed25519 implements the interface described in the documentation for Net::SSH::Perl::Key. Any differences or additions? They're right here, bestie πŸ‘‡

πŸ’… $key->sign($data)

Signs $data using the private and public key portions of $key, then encodes that signature into an SSH-compatible signature blob.

Returns the signature blob. Slay πŸ”₯

πŸŽ€ $key->verify($signature, $data)

Given a signature blob $signature and the original signed data $data, it attempts to verify the signature using the public key portion of $key.

  • $signature should be an SSH-compatible signature blob, as returned from sign
  • $data should be a string of data, as passed to sign

Returns true if the verification succeeds, false otherwise. Bestie verification arc πŸ’–

🧚 Net::SSH::Perl::Key::Ed25519->keygen([$comment])

Generates a new key with (optional) comment. Fresh key, who dis 🌈


πŸ‘‘ AUTHOR & COPYRIGHTS πŸ‘‘

Lance Kinley E<lkinley@loyaltymethods.com>

Copyright (c) 2015-2016 Loyalty Methods, Inc.


⭐ LICENSE ⭐

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Periodt πŸ’œ


πŸ’€ POD ERRORS πŸ’€

Hey! The above document had some coding errors, which are explained below:

  • Around line 378:
    • Unknown E content in E<lkinley@loyaltymethods.com>
Not me catching a lil POD oopsie πŸ™ˆ it's literally right there in the original, so it's right here too. No fixing, just reporting 🫢

okay that's the whole vibe check complete ✨ This was perl v5.42.0, dated 2026-01-17 β€” that's the source, version, and date wrapped up in a cute lil sign-off for you. bye bestie, go sign something πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from