PerlIO::via::GnuPG - Layer to try to decrypt on read
This document describes version 0.004 of PerlIO::via::GnuPG - released April 14, 2014 as part of PerlIO-via-GnuPG.
use PerlIO::via::GnuPG; # dies on error, and if the file is not encrypted open(my $fh, '<:via(GnuPG)', 'secret.txt.asc') or die "cannot open! $!"; my @in = <$fh>; # or whatever...
This is a PerlIO module to decrypt files transparently. It's pretty simple and does not support writing, but works.
...and if it doesn't, please file an issue :)
This package emits warnings from time to time. To disable warnings generated when passing through unencrypted data:
no warnings 'PerlIO::via::GnuPG::unencrypted';
Likewise, to disable all warnings issued by this package:
no warnings 'PerlIO::via::GnuPG';
Please see those modules/websites for more information related to this module.
The development version is on github at http://https://github.com/RsrchBoy/PerlIO-via-GnuPG and may be cloned from git://https://github.com/RsrchBoy/PerlIO-via-GnuPG.git
Please report any bugs or feature requests on the bugtracker website https://github.com/RsrchBoy/PerlIO-via-GnuPG/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Chris Weyl <firstname.lastname@example.org>
This software is Copyright (c) 2013 by Chris Weyl.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999