It's not the actual contents of the secret key, just the ID. $ENV{SECRET_KEY} is the 8 hex digits of your secret key ID. eg:
$ export SECRET_KEY=0xDEADBEEF GPG_PP='Correct Horse Battery Staple' T
+O_MAIL='foo@example.com'
| [reply] [d/l] [select] |
Hi,
Yes, this is what I've found on the Metacpan Crypt::GPG module description. But the script does not work at all.
Then either I'm doing something wrong (bad secret key, bad passphrase, ... but running /bin/gpg -e ... works fine) or my perl module is not properly installed on my Mageia distribution.
I've got other PCs but all using the same Mageia version. I'll try on my work PC but I'm not sure at all that the Crypt::GPG Perl module will be available. And it will tough to find an explanation to ask IT to install it :)
Regards.
Xuo.
| [reply] |
Why would you need IT to install it on your PC? Just install Perl in your home directory and you can install all the CPAN modules you want. No root permissions required.
It's easy enough, just use Perlbrew
Generally, it's not a good idea to use the system perl for user tasks anyway (the same goes for python, nodejs, etc...), because then you and your system will be fighting over which module version is the "correct" version and you might break your system. Use a perl installation in your home directory.
| [reply] |