Piotr F. Mieszkowski
55fa0d0601
[GnuPG.confirm_key] Convert email to bytes() before comparison
2022-05-06 19:14:52 +02:00
Piotr F. Mieszkowski
71afd6ed05
[GnuPG.confirm_key] Set 700 mode for temp. key home
2022-04-26 18:42:48 +02:00
Piotr F. Mieszkowski
a82ff9f3f1
Use actual keys (RSA and Ed25519) in cron-test
2022-04-24 10:42:51 +02:00
Piotr F. Mieszkowski
52b31028c5
Fix config key typo
2022-04-24 10:07:52 +02:00
Piotr F. Mieszkowski
b19a76e297
Update testing documentation
2022-04-23 13:13:57 +02:00
Piotr F. Mieszkowski
ffc53b935a
Finish migration to SQLAlchemy and automate testing cron.py
2022-04-23 13:08:40 +02:00
Piotr F. Mieszkowski
7aff414fb7
Use SQLAlchemy to access database
...
- Replace hardcoded MySQLdb package with sqlalchemy to support other RDBMS
backends.
- Provide a script that could eventually replace schema.sql (schema.py).
- Update sample configuration.
2022-04-23 09:39:20 +02:00
muppeth
86b725349f
added smtp auth to cron.py
2022-04-20 13:01:58 +02:00
Piotr F. Mieszkowski
ea0e012c04
Use 'open' to open a file
2022-04-19 21:35:22 +02:00
Piotr F. Mieszkowski
454b519c70
Use bytes in confirm_key's line operations
2022-04-19 21:22:34 +02:00
Piotr F. Mieszkowski
f472f4ac22
Use isinstance() instead of type()
2022-04-19 21:16:40 +02:00
Piotr F. Mieszkowski
fdadc89c31
Use bytes in GnuPG.confirm_key too
2022-04-19 20:49:49 +02:00
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.
2022-04-10 19:03:18 +02:00