Re: decrypt.rb

2019-04-11 Thread Dave via dovecot
Aki, I just used the "EC key" instructions from the Dovecot MailCrypt wiki: https://wiki.dovecot.org/Plugins/MailCrypt " In order to generate an EC key, you must first choose a curve from the output of this command: > openssl ecparam -list_curves If you choose the curve prime256v1, generate

Re: decrypt.rb

2019-04-11 Thread Aki Tuomi via dovecot
> On 11 April 2019 17:44 David Salisbury via dovecot > wrote: > > > On 4/11/2019 1:50 AM, Aki Tuomi wrote: > > > >> ... > >> So, not being an expert at encryption, what are the ramifications of > >> those digests being read as different values in the two different > >> places??   I do notice

Re: decrypt.rb

2019-04-11 Thread David Salisbury via dovecot
On 4/11/2019 1:50 AM, Aki Tuomi wrote: ... So, not being an expert at encryption, what are the ramifications of those digests being read as different values in the two different places??   I do notice that the get_pubid_priv() function is internal to the decrypt.rb script and calls several Op

Re: decrypt.rb

2019-04-10 Thread Aki Tuomi via dovecot
> On 11 April 2019 00:49 David Salisbury via dovecot > wrote: > > > >>> > >> Yes. I gave it a try here, and it seems to work. Does it give any extra > >> information if you include -i flag? > >> > >> Aki > >> > > > > Yes, I had tried that, and it doesn't give much extra information, at > >

Re: decrypt.rb

2019-04-10 Thread David Salisbury via dovecot
Yes. I gave it a try here, and it seems to work. Does it give any extra information if you include -i flag? Aki Yes, I had tried that, and it doesn't give much extra information, at least to my eye, that seems to help my issue.  Above the previous output it outputs the Version, Flags, H

Re: decrypt.rb

2019-04-10 Thread Dave via dovecot
On 4/10/2019 1:32 AM, Aki Tuomi wrote: On 9.4.2019 18.15, Dave wrote: I've tried specifying an output file as well, per the script's command line options, but the output file is 0 bytes.  Does anyone have any suggestions? I *think* I'm using it the way it's intended to be used, but maybe I

Re: decrypt.rb

2019-04-09 Thread Aki Tuomi via dovecot
On 9.4.2019 18.15, Dave wrote: > >> I've tried specifying an output file as well, per the script's > command line options, > >> but the output file is 0 bytes.  Does anyone have any suggestions?  > I *think* I'm > >> using it the way it's intended to be used, but maybe I'm not?! > >> -Dave > > >

Re: decrypt.rb

2019-04-09 Thread Dave via dovecot
>> I've tried specifying an output file as well, per the script's command line options, >> but the output file is 0 bytes.  Does anyone have any suggestions?  I *think* I'm >> using it the way it's intended to be used, but maybe I'm not?! >> -Dave > > Hi! > Maybe the key you tried was not used t

Re: decrypt.rb

2019-04-08 Thread Aki Tuomi via dovecot
On 9.4.2019 2.33, Dave via dovecot wrote: > Per the Dovecot site here: > https://wiki.dovecot.org/Plugins/MailCrypt > ... the "decrypt.rb" ruby script can be used to decrypt a > Dovecot-encrypted message file from the command line.  The script sort > of runs successfully for me, in the sense that