summaryrefslogtreecommitdiffstats
path: root/doc/man/doveadm-mailbox-cryptokey.1.in
blob: c6ebf664462ec6fb2755018736c3bfee33efd884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.\" Copyright (c) 2010-2018 Dovecot authors, see the included COPYING file
.TH DOVEADM\-MAILBOX\-CRYPTOKEY 1 "2016-01-12" "Dovecot v2.3" "Dovecot"
.SH NAME
doveadm\-mailbox\-cryptokey \- Mail crypt plugin management
.\"------------------------------------------------------------------------
.SH SYNOPSIS
.BR doveadm " -o
.IR plugin/mail_crypt_private_password=password "
.BR [ " \-Dv " ] [ " \-f
.IR formatter " ]
.BR " mailbox cryptokey export|generate|list|password " [ " \-u
.IR username
.BR | " \-A " ] [ " \-S " ] [ " \-F "
.IR file " ]
.BR [ "
.IR other "
.IR options " ]
.br
.SH DESCRIPTION
Generate new keypair for user or folder. The new keypair is marked as active.
.SH OPTIONS
.IR options :
.\"-------------------------------------
@INCLUDE:option-A@
.\"-------------------------------------
@INCLUDE:option-F-file@
.\"-------------------------------------
@INCLUDE:option-S-socket@
.\"-------------------------------------
@INCLUDE:option-u-user@
.\"------------------------------------------------------------------------
.TP
.BI \-o\  plugin/mail_crypt_private_password=password
Dovecot option, needed if you use password protected keys
.SH SUBCOMMANDS
.BR export " [ " \-U " ] " |
.IR mailbox-mask 
.TP
.B \-U
Operate on user keypair only
.PP
Exports user's or folder's keypair(s) in PEM format.
If the keys are password protected, \-o is needed.
.PP
.\"------------------------------------------------------------------------
.BR generate " [ " \-Rf "  [ " \-U " ] " | 
.IR mailbox-mask " ]
.TP
.B \-U
Operate on user keypair only
.TP
.BI \-R
Re-encrypt all folder keys with current active user key
.TP
.B \-f
Force keypair creation, normally keypair is only created if none found
.PP
Generates new keypair for user or folder. If you want to generate new user key
and use it to secure your folder keys, use generate \-u username \-UR.
.PP
If you want to password-protect your key here, use \-o.
.PP
.\"------------------------------------------------------------------------
.BR list " [ " \-U " ] " |
.IR mailbox-mask
.TP
.B \-U
Operate on user keypair only
.PP
List all keys for user or folder. No password is required.
.PP
.\"------------------------------------------------------------------------
.BR password " [ " \-N " | " \-n
.IR password " ]
.BR " [ " \-O " | " \-o
.IR password " ]
.BR [ " \-C " ]
.TP
.B \-O
Ask for old password
.TP
.BI \-o\ old-password
Provide old password
.TP
.B \-N
Ask for new password
.TP
.BI \-n\ new-password
Provide new password
.TP
.B \-C
Clear (unset/remove) password. Your key will not be protected by password.
.PP
Set, change or clear password from your user key.
.SH SEE ALSO
.BR doveadm(1)