Piotr F. Mieszkowski
71afd6ed05
[GnuPG.confirm_key] Set 700 mode for temp. key home
9 months ago
Piotr F. Mieszkowski
454b519c70
Use bytes in confirm_key's line operations
10 months ago
Piotr F. Mieszkowski
f472f4ac22
Use isinstance() instead of type()
10 months ago
Piotr F. Mieszkowski
fdadc89c31
Use bytes in GnuPG.confirm_key too
10 months ago
Piotr F. Mieszkowski
5a34249090
Fix minor cron.py issues
...
Related to #63 : TypeError: memoryview: a bytes-like object is required, not
'str'.
- Allow GnuPG.add_key accept either 'str' or 'bytes'.
- Import MIMEText from email.mime.text.
10 months ago
Piotr F. Mieszkowski
67a938c049
GnuPG.add_key: Use build_command
1 year ago
Piotr F. Mieszkowski
1e7d33c1df
Handle bytes properly
...
Fix bytes sequences handling after auto-migration.
1 year ago
Piotr F. Mieszkowski
5f02223ec7
Perform automatic migration to Python 3.x
...
Use lib2to3 automatic migration tool provided by Python 2.x to convert
codebase to new idioms.
Command line:
find . -type f -name '*.py' \
-exec python2.7 -m lib2to3 \
-f all -f idioms -f buffer -f set_literal -f ws_comma -w \
'{}' '+'
1 year ago
Piotr F. Mieszkowski
2cf60dec40
Add unit tests for GnuPG command-line generator
...
Extract a function to calculate GPG commands to be executed and cover it with
unit tests.
1 year ago
Piotr F. Mieszkowski
f1a799d864
Adjust E2E tests to work with all scenarios
...
Since it's not so easy to encrypt a message exactly the same way twice, we
only verify if the message has been encrypted or not.
Introduce minor changes to the library itself, because it doesn't work very
well with modern GnuPG.
Also, include GnuPG directory (pointed at by --homedir option).
1 year ago
fkrone
2c0e342e5e
Support for decrypting PGP encrypted mails. However, it has some drawbacks and might cause some security issues. So before using it please read carefully through the installation instructions.
8 years ago
fkrone
3cefd27163
Revert "Bugfix for commit before:"
...
This reverts commit 99a1108338
.
8 years ago
fkrone
99a1108338
Bugfix for commit before:
...
Make check for keys in keymap case insensitive
8 years ago
fkrone
e2ef883ec2
Merged change:
...
584eee18dc
( Added check that config file keymap fingerprint exists in actual GPG keyring. Decline encryption if mismatch. )
8 years ago
fkrone
63435c72c5
Merged change:
...
779e712a5d
( Changed GPGEncryptor.encrypt() to also give PGP return code. Write rc to logfile in encrypt_payload(). )
8 years ago
fkrone
0b503fa616
Fixing critical bug: looking up email addresses for PGP encryption in keychain was done case sensitive
8 years ago
fkrone
64db1a6bc0
Adding a key on a non-English system does not fail any longer
8 years ago
perennate
9ac151f438
Merge https://github.com/ajgon/gpg-mailgate
...
Conflicts:
INSTALL
README.md
gpg-mailgate.conf.sample
gpg-mailgate.py
9 years ago
perennate
4aa366dea5
Fix bug causing messages to have extra characters or failing to encode properly.
9 years ago
Colin Moller
d468766f8a
Patch GnuPG library to trust keys we've already got to avoid having to manually add them
9 years ago
Taylor Hornby
ffaee4c577
Correctly encode 'keyhome' into a gpg command.
9 years ago
perennate
fbe2f1bba1
Update license to GNU GPL v3.
9 years ago
perennate
e01e505374
Release under GNU Lesser General Public License.
9 years ago
perennate
98b4e341cf
Initial commit for gpg-mailgate-web addition.
9 years ago
perennate
c04db9c35f
Fix bug causing messages to have extra characters or failing to encode properly.
10 years ago
Colin Moller
e7bd005430
Patch GnuPG library to trust keys we've already got to avoid having to manually add them
10 years ago
Igor Rzegocki
d6aaa9f243
Fixed #1
...
GnuPG2.x listed keys are now properly interpreted.
10 years ago
Igor Rzegocki
078381c2dd
Removed stdin.write and stdout.read from GnuPG and replaced it with subprocess.communicate, to avoid deadlocks when larger messages are passed in
10 years ago
mcmaster
782cda3639
GPG Mailgate 0.1
13 years ago