On 10/04/2023 15:37 EEST Martin Stenzel stenzel@bw-host.de wrote:
Hi team, regarding: https://www.mail-archive.com/dovecot@dovecot.org/msg77000.html
I have the very same problem.
<snip/>
Hi!
It seems that the ruby openssl module interface has changed slightly, I'll look into it. We might as well move it to https://github.com/dovecot/tools while at it.
For what it's worth, it works with ruby2.7 for me.
The reason it looks the same with -k pub and priv, is that the key does not match, so it just tells you what key to expect. I'll make the output bit more verbose about this too.
Aki
Have a nice Monday, and THANKS for taking your time!
Martin, Cologne
P. S. Did you notice, that as an argument (-k) the results are the same, both with private and public key? P.P.S. If i give the "-w" argument and a file name, the file remains empty, tried even that without success.
P.P.P.S. If I call the script with ruby version 2 it bails out...