This website requires JavaScript.
c1d9210c5e
Merge pull request 'Log encryption failure tracebacks' (#160 ) from log-encryption-failures into develop
develop
pfm
2024-09-13 12:23:56 +0200
273ebc7510
Update exception message format
#160
Piotr F. Mieszkowski
2024-09-13 12:23:44 +0200
93002c4910
Log encryption failure tracebacks
Piotr F. Mieszkowski
2024-09-13 12:22:17 +0200
c1c4bd1573
Merge pull request 'Log key cache expiry dates' (#156 ) from bugfix/key-queue-ttl-logs into develop
pfm
2024-09-13 12:01:00 +0200
9a35d47a6d
Release 0.3 (#157 )
main
v0.3
pfm
2024-09-13 11:15:02 +0200
e01d5f6feb
Log key cache expiry dates
#156
Piotr F. Mieszkowski
2024-08-28 22:07:19 +0200
64b401fb66
Merge pull request 'Parse [database]max_queue_hours as integer, handle invalid format' (#155 ) from bugfix/key-queue-ttl into develop
#157
pfm
2024-08-27 21:13:10 +0200
1bec99afaf
Parse [database]max_queue_hours as integer, handle invalid format
#155
Piotr F. Mieszkowski
2024-08-27 18:01:20 +0200
58a7117bb9
Merge pull request 'Improve error handling' (#152 ) from error-handling into main
pfm
2024-08-23 14:30:00 +0200
ba23eeb8b3
Update expected cleartext output
#152
Piotr F. Mieszkowski
2024-07-26 15:34:14 +0200
e643ce7722
Do not touch original payload in KeepIntact mode
Piotr F. Mieszkowski
2024-07-12 20:30:11 +0200
8b5d924321
Implement LazyMessage, a wrapper for original contents
Piotr F. Mieszkowski
2024-07-12 10:40:38 +0200
b6155ade96
Improve tests
Piotr F. Mieszkowski
2024-06-14 15:30:17 +0200
4977185ba1
Add header-only parser and minor test improvements
Piotr F. Mieszkowski
2024-05-24 14:22:55 +0200
474d20f32b
Add contract tests for headers-only parsing of email messages
Piotr F. Mieszkowski
2024-04-19 12:16:49 +0200
95b1396ee0
Upgrade SQLAlchemy, enable warning capturing
Piotr F. Mieszkowski
2024-04-12 18:13:42 +0200
c92b9aed80
Only expire KeyConfirmationQueue items that haven't been confirmed
Piotr F. Mieszkowski
2024-04-12 12:13:12 +0200
abd3f923fb
Extract expiry calculation from KeyConfirmationQueue
Piotr F. Mieszkowski
2024-04-12 11:47:05 +0200
e6619a660f
When cleaning up after cron-job, remove expired queue items
Piotr F. Mieszkowski
2024-04-05 17:19:01 +0200
ce595971e1
Document key lifecycle
Piotr F. Mieszkowski
2024-04-05 15:21:21 +0200
09d7a498df
Improve delivery error-handling
Piotr F. Mieszkowski
2024-03-13 21:55:34 +0100
8955cf6c9d
Improve error-handling and error-reporting
Piotr F. Mieszkowski
2024-03-06 09:08:30 +0100
0ef3012e33
Fix a typo in bouncing, wrap UnicodeEncodeError in custom exception
Piotr F. Mieszkowski
2024-03-03 21:41:15 +0100
d3f1aa3a02
Merge pull request 'Improve error handling' (#146 ) from error-handling into main
v0.2.2
pfm
2024-03-03 08:35:03 +0000
e28864074c
Log exception and traceback when we fail-over to cleartext
#146
Piotr F. Mieszkowski
2024-03-03 09:26:50 +0100
0ec1bc3056
Set default values for non-nullable lacre_keys columns
Piotr F. Mieszkowski
2024-03-03 09:25:14 +0100
110ea885f2
Deliver cleartext if Unicode encoding or message serialisation fail
Piotr F. Mieszkowski
2024-03-02 18:36:41 +0100
3138864d32
Include exception in ExecutionTimeLogger log record
Piotr F. Mieszkowski
2024-03-02 18:06:51 +0100
1d8acc8eb8
Merge pull request '142_lacreadm' (#145 ) from 142_lacreadm into main
v0.2.1
pfm
2024-03-01 19:50:10 +0000
8006b96df2
Rename lacreadm wrapper, mention it in documentation
#145
#143
Piotr F. Mieszkowski
2024-03-01 20:42:22 +0100
f80e4ecb9e
Implement a very thin wrapper around 'python -m lacre.admin'
Piotr F. Mieszkowski
2024-02-29 21:58:58 +0100
676ff47933
Don't ignore 'bin' directory
Piotr F. Mieszkowski
2024-02-29 21:58:37 +0100
f1c135850c
lacre.admin: Report misconfiguration
Piotr F. Mieszkowski
2024-02-29 21:57:39 +0100
ccfaa39501
Merge pull request 'Fix unencrypted delivery' (#144 ) from v0.2_unencrypted-delivery-fix into main
pfm
2024-03-01 19:34:19 +0000
7806d8c32a
Log message headers on a hard error
#144
Piotr F. Mieszkowski
2024-03-01 20:28:51 +0100
04ca103494
Fix unencrypted delivery in case of message generation failure
Piotr F. Mieszkowski
2024-03-01 20:13:16 +0100
d75ded751e
Merge pull request 'Rename GPG-Mailgate to Lacre' (#138 ) from 81_rename-to-lacre into main
v0.2
pfm
2024-02-23 07:35:21 +0000
f601080e87
lacre.admin: Add more 'queue' documentation, clean up
#138
Piotr F. Mieszkowski
2024-02-23 08:33:47 +0100
80c25f6d2e
lacre.admin: Document new sub-command 'database'
Piotr F. Mieszkowski
2024-02-23 08:25:52 +0100
aa2eb604d4
lacre.admin: Add a sub-command to manipulate database schema
Piotr F. Mieszkowski
2024-02-21 21:07:48 +0100
f7e6708949
Adjust lacre.dbschema to reflect original schema.sql
Piotr F. Mieszkowski
2024-02-21 21:09:15 +0100
be615df6e4
Split webgate-cron.py into small functions
Piotr F. Mieszkowski
2024-01-21 11:28:46 +0100
bfd3541b18
Retrieve data from db result before returning from Context Manager
Piotr F. Mieszkowski
2024-01-20 18:52:47 +0100
8d2bf403a7
Add lacre.admin queue --list option, log query parameters
Piotr F. Mieszkowski
2024-01-16 20:33:23 +0100
55a369df83
Add debug sqlalchemy logs (disabled by default)
Piotr F. Mieszkowski
2024-01-08 22:45:59 +0100
cd67b0934e
Unify configuration requirements
Piotr F. Mieszkowski
2024-01-08 22:14:56 +0100
276e0d0cd4
Use one config for cron and daemon tests
Piotr F. Mieszkowski
2024-01-07 21:52:52 +0100
bc2fc53416
Update gitignore: generated config, project name
Piotr F. Mieszkowski
2024-01-06 15:46:33 +0100
260a3f3e9c
Configure pooling for cron tests
Piotr F. Mieszkowski
2024-01-06 15:26:18 +0100
a943b50adb
Update test configuration after renaming
Piotr F. Mieszkowski
2024-01-06 15:06:36 +0100
a98ff611ee
Continue renaming: config files, tests, docs
Piotr F. Mieszkowski
2024-01-06 14:45:09 +0100
ad3a54fcd7
Rename GPG-Mailgate to Lacre
Piotr F. Mieszkowski
2024-01-06 14:34:54 +0100
7208f66527
Improve simple filter structure
Piotr F. Mieszkowski
2024-01-05 22:21:20 +0100
a09fd67a59
Make keys unexpirable
Piotr F. Mieszkowski
2024-01-05 22:11:14 +0100
748fd00957
Merge pull request 'lacre.repositories: Configure SQLAlchemy connection pooling' (#136 ) from connection-pooling into main
v0.2-RC3
pfm
2024-01-04 18:52:03 +0000
8f8f081d28
Fix key-removal condition, improve logging
#136
Piotr F. Mieszkowski
2024-01-04 19:45:25 +0100
07539a97d3
Improve logging
Piotr F. Mieszkowski
2023-12-20 23:03:04 +0100
5c327b166a
webgate-cron: Log more information, including exceptions
Piotr F. Mieszkowski
2023-12-19 18:21:00 +0100
41b7535412
Add more logging, add --delete option to admin queue sub-command
Piotr F. Mieszkowski
2023-12-19 09:02:42 +0100
9b5d578985
lacre.config: Make both enums case-insensitive
Piotr F. Mieszkowski
2023-12-17 20:42:57 +0100
ff429c93e6
Convert pooling parameters to integers
Piotr F. Mieszkowski
2023-12-17 14:12:52 +0100
90da933bf9
Make disconnect handling configuration explicit
Piotr F. Mieszkowski
2023-12-17 14:03:20 +0100
86cc27e918
lacre.repositories: Configure SQLAlchemy connection pooling
Piotr F. Mieszkowski
2023-12-16 23:32:27 +0100
18a64bcd72
Merge pull request 'Add ability to deliver cleartext when keys can't be loaded' (#135 ) from fix/keys-not-loaded into main
pfm
2023-12-10 20:41:48 +0000
e8d0d248b3
lacre.repositories: Add missing import
#135
Piotr F. Mieszkowski
2023-12-10 21:39:59 +0100
23a05c11ac
Remove EncryptionException formatting test
Piotr F. Mieszkowski
2023-12-10 21:35:35 +0100
8cc1136a90
lacre.daemon: When keys can't be loaded, fail gracefully
Piotr F. Mieszkowski
2023-12-10 21:27:05 +0100
628de8a28d
Merge pull request 'Fix cron script and more' (#134 ) from fix/cron-script into main
v0.2-RC2
pfm
2023-12-09 20:26:37 +0000
c0b98649d4
lacre.admin: Document import command
#134
Piotr F. Mieszkowski
2023-12-09 21:14:35 +0100
fe2c0cbf76
Fix unprintable exception issue
Piotr F. Mieszkowski
2023-12-09 20:57:09 +0100
75c48282b0
Rework encryption exception handling
Piotr F. Mieszkowski
2023-12-09 20:38:46 +0100
fc08813bdc
Improve unencryptable message logs
Piotr F. Mieszkowski
2023-12-09 19:48:20 +0100
d51c675881
lacre.admin: Make import -r option a flag (Boolean)
Piotr F. Mieszkowski
2023-12-05 21:51:35 +0100
abaf8820d7
lacre.admin: Add -r / --reload option to import command
Piotr F. Mieszkowski
2023-12-05 21:49:23 +0100
94d0a62766
Identity removal: execute prepared DELETE
Piotr F. Mieszkowski
2023-12-05 21:33:19 +0100
cc1bacbe3d
Move some imports to lacre.notify
Piotr F. Mieszkowski
2023-12-05 21:11:41 +0100
4c603839b5
Merge pull request 'lacre.repositories: Fix IdentityRepository existence predicate' (#133 ) from 132-fix-repo-upsert into main
pfm
2023-12-04 21:59:00 +0000
0d852bc279
lacre.repositories: Fix IdentityRepository existence predicate
#133
Piotr F. Mieszkowski
2023-12-04 22:57:43 +0100
b7713207ab
Merge pull request 'Fix unencrypted delivery and key removal' (#130 ) from 129-key-removal into main
pfm
2023-12-02 20:59:13 +0000
ac5dddfa98
Remove configuration options no longer used
#130
Piotr F. Mieszkowski
2023-12-02 21:48:17 +0100
052551072e
Change table prefix from 'gpgmw' to 'lacre'
Piotr F. Mieszkowski
2023-12-02 19:25:24 +0100
0975ce3a69
lacre.admin: Handle database exceptions
Piotr F. Mieszkowski
2023-11-26 19:52:58 +0100
b44bd7b150
lacre.admin: Implement identity import, fix identity list
Piotr F. Mieszkowski
2023-11-26 18:30:25 +0100
0fe5e6b3dc
Make GnuPG.public_keys docstring more complete
Piotr F. Mieszkowski
2023-11-26 18:29:43 +0100
aa8c353a05
Replace NBSP in doc/admin.md with a regular space
Piotr F. Mieszkowski
2023-11-26 18:29:09 +0100
97c4f9f14a
lacre.repositories: Fix naming after refactoring
Piotr F. Mieszkowski
2023-11-25 16:09:23 +0100
626fce5f2c
lacre.admin: Implement 'identities' sub-command
Piotr F. Mieszkowski
2023-11-25 16:08:54 +0100
95c5802c38
Add test/lacre.db to gitignore
Piotr F. Mieszkowski
2023-11-25 15:09:00 +0100
9b5c43b769
Fix crontest config, polish Makefile
Piotr F. Mieszkowski
2023-11-25 15:05:27 +0100
7fe52ae8b5
Don't pass table definition to KeyConfirmationQueue
Piotr F. Mieszkowski
2023-11-25 15:02:48 +0100
1ad0d2df0e
Implement lacre.admin CLI tool
Piotr F. Mieszkowski
2023-11-25 14:07:10 +0100
becb39f139
Clean up database access
Piotr F. Mieszkowski
2023-11-25 14:04:32 +0100
4950e0b9c3
Keep secondary keyring for test purposes
Piotr F. Mieszkowski
2023-11-25 01:13:43 +0100
acd33fec1e
Fix inheritance issues
Piotr F. Mieszkowski
2023-11-25 01:11:44 +0100
72217e38ea
GnuPG module: make key-listing more thorough
Piotr F. Mieszkowski
2023-11-25 01:08:15 +0100
7c2d32bf3c
Make IdentityRepository a KeyRing
Piotr F. Mieszkowski
2023-11-24 22:59:21 +0100
5efef3c9cb
Fix table name, unify metadata handling
Piotr F. Mieszkowski
2023-11-20 22:27:35 +0100
89affde0d5
Add tests for GnuPG parsing routines
Piotr F. Mieszkowski
2023-11-20 22:11:37 +0100
bfa2643dc7
Implement identity repository
Piotr F. Mieszkowski
2023-11-20 22:09:50 +0100
56da7e0cb4
Refactor calculating execution time
Piotr F. Mieszkowski
2023-11-20 22:03:59 +0100