Name : perl-Data-SSHPubkey
| |
Version : 1.00
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 19:04:48
|
Group : Development/Libraries/Perl
| Source RPM : perl-Data-SSHPubkey-1.00-lp156.1.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Utility function to parse SSH public keys with
|
Description :
\'Data::SSHPubkey\' parses SSH public keys, or at least some of those supported by ssh-keygen(1). It may be prudent to check any uploaded data against \'ssh-keygen\'. Currently supported public key types (the possible values that \'$type\' above may contain):
ecdsa ed25519 rsa PEM PKCS8 RFC4716
Neither SSH1 keys nor SSH2 DSA keys are supported.
The data will not include any tailing comments; those are stripped. The data will not end with a newline; that must be added by your software as necessary when writing out the public keys. Inner newlines for the multiline SSH public key types (\'PEM\', \'PKCS8\', and \'RFC4716\') will be standardized to the \'$/\' variable. This may cause problems if \'ssh-keygen(1)\' or equivalent on some platform demands a specific newline sequence that is not \'$/\'.
The types \'PEM\', \'PKCS8\', and \'RFC4716\' will need conversion for use with OpenSSH; use *convert_pubkeys* or these types could be excluded with something like:
my AATTpubkeys = grep { $_->[0] =~ m/^(?:ecdsa|ed25519|rsa)$/ } Data::SSHPubkey::pubkeys( ... );
or
... = map { $_->[0] =~ m/^(?:ecdsa|ed25519|rsa)$/ ? $_->[1] : () } Data::SSHPubkey::pubkeys( ... );
to obtain only the public key material.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-D/15.6/noarch |