NAME
Crypt::MultiKey::PKey::Password - Default PKey protection scheme - encrypt private half with a password
DESCRIPTION
This is the default PKey protection scheme that you get when you call encrypt_private on a previously unprotected PKey object. In order to interactively read the password, it expects STDIN to be a terminal. You can bypass this requirement using decrypt_private directly.
METHODS
can_obtain_private
This returns true if STDIN is a console, meaning that it can display a password prompt to the user.
obtain_private
Prompt the user for a password and pass that to "decrypt_private". This is a no-op if the private half is already loaded.
VERSION
version 0.000_001
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2026 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.