mrash / gpgdir Goto Github PK
View Code? Open in Web Editor NEWRecursive directory encryption with GnuPG
Home Page: http://www.cipherdyne.org/gpgdir/
License: GNU General Public License v2.0
Recursive directory encryption with GnuPG
Home Page: http://www.cipherdyne.org/gpgdir/
License: GNU General Public License v2.0
Hi! I've tried tu build gpgdir and I got below errors:
MethodMaker.xs: In function 'XS_Class__MethodMaker_set_sub_name':
MethodMaker.xs:10:26: error: lvalue required as left operand of assignment
CvGV((GV*)SvRV(sub)) = gv_fetchpv(stashname, TRUE, SVt_PV);
So it turns out I'm a bit slack and meant to do this last week, oops.
Excluding all hidden files or directories has the significan drawback of preventing gpgdir being used on things like IMAP mail folders, Maildir contents and anything in .config/ (including hexchat and xchat IRC logs) or .znc/ config and logs. No doubt everyone can come up with other examples of things they'd like to be able to compress encrypt and archive.
Nevertheless, the default behaviour of automatically excluding certain essential configuration files and directories needs to be protected. Principally the GPG home directory (traditionally ~/.gnupg/ on POSIX compliant systems) and the relevant shell rc files for the user.
Updating gpgdir to use the user's environment to determine which shell they use and exclude the relevant default rc or configuration files would be ideal, but a fallback of excluding the most common files (e.g. .bashrc, .bash_profile, .tcshrc, .cshrc, etc.). As for GPG's home directory, this should be determined with:
gpgconf --list-dirs
Normally the homedir value is the final line of the output of that command. The fallback should be the default of $HOME/.gnupg/
Note that systems which only use GPG Classic (i.e. GPG 1.4.x) will not have the gpgconf command. Some output may differ between GPG Stable (i.e. GPG 2.0.x) and GPG Modern (i.e. GPG 2.1.x). I've been referring to the output from GPG 2.1.11 here.
Gpg command_args should be configurable via the gpgdir command line.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.