Authen...eypair(3pm)
π NAME π
okay so bestie, this is Authen::U2F::Tester::Keypair β it's the Authen::U2F::Tester Keypair Object, living its little life over in the User Contributed Perl Documentation section of the manual (that's the 3pm part, iykyk β¨).
π VERSION π
this is version 0.03 bestie, we're not on the newest-newest but she's serving π«Ά
β¨ SYNOPSIS β¨
here's the vibe, like, exactly how you'd use her:
my $keypair = Authen::U2F::Tester::Keypair->new;
# private key in DER format
my $private_key = $keypair->private_key;
# public key in DER format
my $public_key = $keypair->public_key;
print $keypair->handle;
no cap, that's literally it. she's lowkey simple and I'm obsessed π
π¦ DESCRIPTION π¦
so basically: this module is the girl who manages Crypt::PK::ECC keypairs for Authen::U2F::Tester. that's the whole job description. she handles the keys, you handle everything else, periodt π
πΈ METHODS πΈ
new()
new($keypair)
constructs a brand new keypair object for you π and here's the tea: you can hand her a Crypt::PK::ECC object to use β but if you don't? she's not gonna stress, she'll just generate a whole new keypair on demand. main character energy fr fr β¨
keypair(): Crypt::PK::ECC
gets the keypair for this object. and if nobody passed one into the constructor? she generates a new key. no drama, no complaints, she just does it π
public_key(): scalar
gets the public key for this keypair, in "DER" format. that's the one you can show people π«Ά
private_key(): scalar
gets the private key for this keypair, also in "DER" format. keep this one to yourself bestie, it's giving secrets π€«π
π§ SOURCE π§
the development version is chillin' on github at <http://https://github.com/mschout/perl-authen-u2f-tester> and you can clone her from <git://https://github.com/mschout/perl-authen-u2f-tester.git> β go be nosy, she loves the attention π
π BUGS π
found a bug? want a feature? please report it on the bugtracker website at <https://github.com/mschout/perl-authen-u2f-tester/issues> π
and when you submit a bug or a request, please include a test-file β or a patch to an existing test-file β that illustrates the bug or the desired feature. like, show us the receipts bestie, it helps SO much π
π AUTHOR π
Michael Schout <mschout@cpan.org> β icon, legend, wrote the whole thing β
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2017 by Michael Schout.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay π
okay that's the whole page bestie, go forth and manage those keypairs π
signing off from perl v5.26.2, dated 2018-04-12, in the Authen...eypair(3pm) section β mwah, love u, bye πβ¨
π¦ where this page comes from
- ubuntu jammy: libauthen-u2f-tester-perl 0.03-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libauthen-u2f-tester-perl 0.03-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms