1
0
mirror of https://github.com/moparisthebest/gpgit synced 2024-08-13 15:53:50 -04:00
Commit Graph

26 Commits

Author SHA1 Message Date
Donncha O'Cearbhaill
3ed318e47d Use explict form of specifing $REAL_USER_ID and $EFFECTIVE_USER_ID
Dovecot can be setup to run as a virtual user, for example 'vmail'.
Sieve scripts are then run with the UID of root but the EUID of
the vmail user. GnuPG will not run if the EUID does not match the
UID as a measure to prevent the system letting it keep root privs.
http://lists.gnupg.org/pipermail/gnupg-users/2006-August/029109.html
2013-07-21 14:08:17 +01:00
Donncha O'Cearbhaill
89b29b1839 Run perl script with UID to match EUID
This helps avoid an error where GnuPG won't run if the uid does
not match the euid returning error like
"Error: secmem usage: 0/0 bytes in 0/0 blocks"
2013-07-21 01:29:58 +01:00
Etienne Perot
644eeb4959 Proper capitalization 2012-08-20 18:06:11 -04:00
Etienne Perot
a4ee747af6 And the other one 2012-08-20 17:57:03 -04:00
Etienne Perot
a618fcf10a Add missing semicolon 2012-08-08 23:05:30 -04:00
Etienne Perot
44898ea376 Add note about PGP limitations on email metadata 2012-08-08 17:43:09 -04:00
Etienne Perot
a5816ef60e Add X-Gpgit-Execute header to all messages encrypted with gpgit, so that it is easier to tell which messages have been sent encrypted and which messages were merely encrypted by gpgit 2012-08-08 17:21:44 -04:00
Etienne Perot
859edbe85d Make it work with github's markdown parser 2012-08-04 20:17:14 -04:00
Etienne Perot
ccfa3194ff Updated README, cleaned some cruft out 2012-08-04 20:13:55 -04:00
Etienne Perot
06ccf85b9e encmaildir.sh: Remove third argument, changed default encryption mode to PGP/MIME (gpgit default), no need to specify path to gpgit.pl (assumes it is next to this script), no full paths to binaries, harmonize indentation, rename variables to better names, don't use a temporary file to keep track of program state, remove security vulnerability during which the (encrypted) message could be read by anyone able to read /tmp for a short while 2012-08-04 19:25:23 -04:00
Olivier Berger
2c32d4ec20 Add a copy of a script allowing to process an existing maildir
source : http://www.dslreports.com/forum/remark,26270484 (retrieved throug google's cache)
2012-04-30 13:29:14 +02:00
Mike Cardwell
a6e86497df Handle CID urls that are not surrounded by quotation marks 2011-11-15 13:05:48 +00:00
Mike Cardwell
2961b1e2ef Adds a X-GPGIT-Flattened-From header describing the original MIME structure if inline-flatten has flattened the message 2011-11-15 12:42:50 +00:00
Mike Cardwell
62c6b463a7 Replaced --alternative-strip-html option with --inline-flatten. This option does more. See --help 2011-11-15 12:27:56 +00:00
Mike Cardwell
112f66f912 Added the --alternative-strip-html argument 2011-11-14 15:00:25 +00:00
Mike Cardwell
05497a558c Set the HOME environment variable to match the homedir of the user
running the script, so that the .gnupg folder can be found easily.
2011-09-27 14:21:11 +01:00
Mike Cardwell
717df71317 Updated to reflect the new behaviour after --encrypt-mode was
implemented
2011-03-16 10:51:16 +00:00
Mike Cardwell
e6d73b62f6 Implemented --encrypt-mode and --help arguments. We now default to using
PGP/MIME for encryption at all times, but there are several modes for
using inline encryption too. See --help.
2011-03-13 11:33:39 +00:00
Mike Cardwell
e8ce1ea990 Fixed numbering 2011-02-24 12:07:27 +00:00
Mike Cardwell
ccf3c76dc6 List of TODO items 2011-02-24 12:06:15 +00:00
Mike Cardwell
e2f8c03627 Encrypt for multiple email addresses 2011-02-24 11:26:54 +00:00
Mike Cardwell
dbbd5496eb Added some info about the app rather than just a link to a blog post 2011-02-24 11:04:15 +00:00
Mike Cardwell
d16b607d70 Exit with an error status code if the arguments are invalid 2011-02-24 10:50:19 +00:00
Mike Cardwell
b3d4732b28 Changed contact info 2011-01-24 14:08:28 +00:00
Mike Cardwell
110b6b666a Changed contact info 2011-01-24 14:08:16 +00:00
Mike Cardwell
6948448fcb first commit 2011-01-13 18:23:38 +00:00