Commit Graph

28 Commits

Author SHA1 Message Date
0494812be5 add module.nix and checked its functionality
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-12 16:11:31 +02:00
84bf6e4712 wip: add module.nix
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-12 12:53:11 +02:00
f59934cfd0 update README
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-12 11:50:26 +02:00
ffeb686fe0 add reading password from file
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-11 18:53:48 +02:00
14c87f03ce add a configurable list of recipients/cert dict
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-09 22:06:58 +02:00
d9053e36bc add CLI test
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-09 18:57:58 +02:00
81fa631d16 add more tests, refactor sign and encrypt
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 20:14:49 +02:00
cb5590b2b5 add systemd file
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 19:57:26 +02:00
2b253e03eb add first tests
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 12:58:50 +02:00
7f37e875ed prepare for pytest
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 11:47:44 +02:00
ae9fe92872 add checks to flake.nix
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 11:46:43 +02:00
e1113f0052 use aes_256 instead of des
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-06 08:17:22 +02:00
837541dab9 remove envelope from requirements
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 21:59:59 +02:00
6a5de9bc6d add README and config sample
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 21:56:16 +02:00
4627a08a69 add nix tooling (default.nix and flake support)
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 21:55:55 +02:00
6b40ab3235 move to pyproject.toml
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 21:54:56 +02:00
9bb944a87c add correct license (AGPLv3)
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 20:37:47 +02:00
aeb610dab9 add first WIP version of encryption
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 14:41:49 +02:00
9cc0e2be50 fix pylint issues
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 12:41:22 +02:00
f4e6356792 first working signing version
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 11:41:02 +02:00
3144db3613 devenv: make black and isort wortk together
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 11:40:38 +02:00
65924f9656 format
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 11:29:19 +02:00
22cedd9f3e gitignore: Dont commit secrets
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 11:18:16 +02:00
a36b268cfa add dependency M2Crypto and cryptography
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-05 11:17:56 +02:00
45969d9d6e add envelope dependency
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-03 22:08:02 +02:00
125364e067 add hooks and python tooling
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-03 18:41:27 +02:00
4f705cdfaa add devenv
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-03 18:17:18 +02:00
e4e4e9bb85 original script
taken from https://www.hackitu.de/smtprd under GNU AGPL 3.0

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
2024-07-03 18:03:19 +02:00