Net::SSH::Perl::Key::Ed25519 - Ed25519 key object
use Net::SSH::Perl::Key; my $key = Net::SSH::Perl::Key->new('Ed25519');
Net::SSH::Perl::Key::Ed25519 subclasses Net::SSH::Perl::Key to implement an OpenSSH key object. It uses code taken from the SUPERCOP ref10 implementation to do the crypto heavy lifting. The Net::SSH::Perl::Buffer class is used to create blobs and transforms those it into a key object and to write keys to an openssh-key-v1 file.
Net::SSH::Perl::Key::Ed25519 implements the interface described in the documentation for Net::SSH::Perl::Key. Any differences or additions are described here.
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.
Given a signature blob $signature and the original signed data $data, 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.
Generates a new key with (optional) comment.
Lance Kinley E<lkinley@loyaltymethods.com>
Copyright (c) 2015-2016 Loyalty Methods, Inc.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Unknown E content in E<lkinley@loyaltymethods.com>
To install Net::SSH::Perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SSH::Perl
CPAN shell
perl -MCPAN -e shell install Net::SSH::Perl
For more information on module installation, please visit the detailed CPAN module installation guide.