Git Product home page Git Product logo

gpgdir's Issues

[ENHANCEMENT] Streamlining excluded directories

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.

Compilation problem with MethodMaker

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);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.