Curve25519 ECDH encryption issue
    Werner Koch 
    wk at gnupg.org
       
    Fri Apr  8 10:31:32 CEST 2016
    
    
  
On Fri,  8 Apr 2016 09:02, gniibe at fsij.org said:
> I think that expected GnuPG behavior in this case is returns an error,
> not decrypting the message.  Is it right?
That is probably the best solution.  The other would be to detect the
case, decrypt, and print a warning.  But that requires a new diagnostic
string for a very rare case.  Thus I think it is better to return an
error like GPG_ERR_BAD_MPI.
Salam-Shalom,
   Werner
-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
    
    
More information about the Gnupg-devel
mailing list