Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Fix QuickCheck #3

Open
onemouth opened this issue Dec 15, 2016 · 3 comments
Open

Fix QuickCheck #3

onemouth opened this issue Dec 15, 2016 · 3 comments

Comments

@onemouth
Copy link
Owner

test cannot pass in new base version?

@colatkinson
Copy link
Contributor

The tests pass on my machine. What errors are you getting?

@onemouth
Copy link
Owner Author

Are you using macOS or Linux?
I can't decrypt back to what to I encrypt. I run on macOS 10.12.

Main: fixed plaintext: [Failed] *** Failed! Assertion failed (after 1 test): (PubKey {bits = 512, nModulo = 12130071427355540426252758328401244111551624314083815607290024436849724247696581884002281497560704383022663926155524483747279016888396295853398937606427489, generator = 12130071427355540426252758328401244111551624314083815607290024436849724247696581884002281497560704383022663926155524483747279016888396295853398937606427490, nSquare = 147138632832747277860390377953252420661142256688691433987165656780246696473125921572453968650944357949644718109125867665546859479509308561816625926053583630046435568597493858516714581367715508599043079036946799870043544384190855402934457411526125153867856954095068593419366891804093535285628328112685414845121},PrvKey {lambda = 110136603485651129036528115879635227517603608857337084855537092705097422640432, x = 12130071427355540426252758328401244111551624314083815607290024436849724247696471747398795846431667854906784290928006880138421679803540758760693840183787055}) (used seed 177635273586374616)

@colatkinson
Copy link
Contributor

I'm running Linux 4.8. Decryption doesn't work for me using those specific keys, but with other keys it works fine. The crypto-numbers library's prime generation is probabilistic, so could it just be a rare case of it not working as it should, or does the problem recur on every test?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants