Skip to content

Commit b94d16d

Browse files
authored
Merge branch 'main' into dict-pattern
2 parents 47df570 + ae0f13e commit b94d16d

File tree

3 files changed

+44
-28
lines changed

3 files changed

+44
-28
lines changed

.github/workflows/2_3.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Deploy 2.3
2+
3+
on:
4+
push:
5+
branches:
6+
- release-2.3
7+
tags:
8+
- '2.3.*'
9+
10+
jobs:
11+
release_2_3:
12+
runs-on: ubuntu-latest
13+
if: github.ref == 'refs/heads/release-2.3'
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: dovecot/[email protected]
17+
- uses: dovecot/[email protected]
18+
with:
19+
FLAGS: -azr --delete
20+
HOST: doc.dovecot.org
21+
USER: docs
22+
LOCALPATH: /build/.
23+
REMOTEPATH: public_html/2.3
24+
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
25+
if: env.DEPLOY_KEY
26+
env:
27+
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

.github/workflows/main.yml

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
name: Deploy main
1+
name: Deploy 2.4
22

33
on:
44
push:
55
branches:
66
- main
7-
- release-2.3
87
tags:
9-
- '2.*'
8+
- '2.4.*'
109

1110
jobs:
12-
releasenew:
11+
release_2_4:
1312
runs-on: ubuntu-latest
1413
steps:
1514
- name: Checkout
@@ -70,9 +69,9 @@ jobs:
7069
with:
7170
name: documentation-tar
7271
path: tars/docs.tgz
73-
publishnew:
72+
publish_2_4:
7473
runs-on: ubuntu-latest
75-
needs: releasenew
74+
needs: release_2_4
7675
if: github.ref == 'refs/heads/main'
7776
name: Publish documentation tarball
7877
steps:
@@ -99,20 +98,3 @@ jobs:
9998
files: |
10099
./SHA256SUMS.txt
101100
./docs.tgz
102-
release23:
103-
runs-on: ubuntu-latest
104-
if: github.ref == 'refs/heads/release-2.3'
105-
steps:
106-
- uses: actions/checkout@v4
107-
- uses: dovecot/[email protected]
108-
- uses: dovecot/[email protected]
109-
with:
110-
FLAGS: -azr --delete
111-
HOST: doc.dovecot.org
112-
USER: docs
113-
LOCALPATH: /build/.
114-
REMOTEPATH: public_html/2.3
115-
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
116-
if: env.DEPLOY_KEY
117-
env:
118-
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}

docs/core/plugins/mail_crypt.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ dovecotlinks:
1111
mail_crypt_fs_crypt:
1212
hash: fs-crypt
1313
text: "Mail Crypt Plugin: fs-crypt"
14+
mail_crypt_global_keys:
15+
hash: global-keys
16+
text: "Mail Crypt Plugin: Global Keys"
1417
mail_crypt_supported_sym_algorithms:
1518
hash: supported-symmetric-algorithms
1619
text: "Mail Crypt Plugin: Supported symmetric algorithms"
@@ -221,9 +224,13 @@ when the password changes, **you must re-encrypt the user private key**.
221224

222225
### Global keys
223226

224-
In this mode, all keying material is taken from plugin environment. You can use
225-
either Elliptic Curve (EC) keys (recommended) or RSA keys. No key generation
226-
is automatically performed.
227+
In this mode, all keying material is taken from the settings:
228+
* [[setting,crypt_global_public_key_file]]
229+
* [[setting,crypt_global_private_key]] - List of
230+
[[setting,crypt_private_key_file]] keys
231+
232+
You can use either Elliptic Curve (EC) keys (recommended) or RSA keys. See
233+
below for examples using them. No key generation is automatically performed.
227234

228235
A good solution for environments where no user folder sharing is needed is to
229236
generate per-user EC key pair and encrypt that with something derived from
@@ -262,9 +269,9 @@ mail_plugins {
262269
mail_crypt = yes
263270
}
264271
265-
crypt_global_public_key_file = rsapubkey.pem
272+
crypt_global_public_key_file = ecpubkey.pem
266273
crypt_global_private_key main {
267-
crypt_private_key_file = rsaprivkey.pem
274+
crypt_private_key_file = ecprivkey.pem
268275
crypt_private_password = secret
269276
}
270277
```

0 commit comments

Comments
 (0)