Displaying 4 results from an estimated 4 matches for "generatekeys".
2019 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
...' binary
https://github.com/dovecot/core/blob/8606e1abb90a1c91357b84bf547a89564d053533/src/util/script-login.c
Here it is config for above
> service imap {
> executable = imap imap-postlogin
> }
> service imap-postlogin {
> executable = script-login /usr/local/bin/generateKeys.sh
> unix_listener imap-postlogin {
> }
> }
And generateKeys.sh it is script simple for generating keys with sha256()
hash product mysql. Variable of note ${MAIL_CRYPT_PRIVATE_PASSWORD}
automatically put of 'userdb_mail_crypt_private_password' return of mysql
field of qu...
2019 Dec 08
2
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
...ncryption given?
I confirm that element of post for 'newuser' is encrypted, but of course I
can no decrypt the mail. I achieve error:
> dovecot: imap(newuser...Error: Mailbox INBOX: UID=1: read()
> failed...Private key not available: Cannot decrypt key XYZ
No well for executing generateKeys.sh on user first login. What if the
user receives email before first login? How I execute generateKeys.sh on
create of mailbox and how I do emails incoming without any keypair
created? For to reject or queue or save unencrypted until I generate
keypair? It possible?
On Sun, December 8, 2019 08:04,...
2019 Dec 08
0
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
...">
<div>
service imap {
</div>
<div>
executable = imap imap-postlogin
</div>
<div>
}
</div>
<div>
service imap-postlogin {
</div>
<div>
executable = script-login /usr/local/bin/generateKeys.sh
</div>
<div>
unix_listener imap-postlogin {
</div>
<div>
}
</div>
<div>
}
</div>
</blockquote>
<div>
And generateKeys.sh it is script simple for generating keys with sha256()
</div>...
2019 Dec 08
0
bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
...<blockquote type="cite">
<div>
dovecot: imap(newuser...Error: Mailbox INBOX: UID=1: read()
</div>
<div>
failed...Private key not available: Cannot decrypt key XYZ
</div>
</blockquote>
<div>
No well for executing generateKeys.sh on user first login. What if the
</div>
<div>
user receives email before first login? How I execute generateKeys.sh on
</div>
<div>
create of mailbox and how I do emails incoming without any keypair
</div>
<div>
created? For to re...