https://bugs.documentfoundation.org/show_bug.cgi?id=116862
--- Comment #9 from Franklin Weng <[email protected]> ---
(In reply to Thorsten Behrens (CIB) from comment #4)
> Created attachment 142533 [details]
> Hack-around patch - of course we cannot simply trust all keys...
>
> With the attached patch, it works again. No real solution though
I tried to debug it and have some interesting findings.
https://pastebin.com/ucpjLg4D
in comphelper/source/misc/storagehelper.cxx:496
xSignCertificates.getLength() is 2 though I chose only one recipient. (line 5
in pastebin)
Then I checked keyID at code line 509, after key is pushed back to vector (line
37 in pastebin)
The key is correct (my public key).
In the first iteration the result is correct. Then goes to the second
iteration (since xSignCertificates.getLength() is 2)
I checked the key in the second iteration (line 119 in pastebin) this time it
returned another keyID (Osvaldo's public key!?)
This time crypt_res.error() returned code 53 and len was 0, so threw exception.
I have not checked why xSignCertificates.getLength() is 2 yet. Maybe someone
would be interested in it?
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs