Displaying 1 result from an estimated 1 matches for "userkeyon".
Did you mean:
userkey
2020 May 14
0
[Dovecot v2.3.9.3] HTTP API Endpoint for mailbox cryptokey operations
...erate the following json for the mailbox cryptokey generate command:
curl -X POST -H "Authorization: X-Dovecot-API <base64-api-token>" -H
"Content-Type: application/json" -d
'[["mailboxCryptokeyGenerate",{"user":"<username>","userKeyOnly":true},"tag1"]]'
http://localhost:8081/doveadm/v1
which is able to give me the same output as the related command:
doveadm mailbox cryptokey generate -u <username> -U.
This only works if a keypair has already been generated for the user,
which is kind of counter-prod...