Skip to content

fix: Use correct function for constructing MPIs

Wiktor Kwapisiewicz requested to merge wiktor/fix-rsa-flaky-test into main

Previous implementation emitted zero-padded MPIs with wrong bit sizes which would trip other OpenPGP implementations.

This happened only when the resulting signature had a zero byte at the beginning. It happened rarely and that's why the test was flaky.

Fixes: #67 (closed)

Merge request reports

Loading