Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating keys - parameters #5

Closed
MihalacheStefan opened this issue Apr 28, 2021 · 1 comment
Closed

Generating keys - parameters #5

MihalacheStefan opened this issue Apr 28, 2021 · 1 comment

Comments

@MihalacheStefan
Copy link

MihalacheStefan commented Apr 28, 2021

I'm still getting this exception no matter what input I give for key generation. Can someone post a set of parameters that works for them such that I'm sure that I don't miss anything regarding the way McEliece key generation works?

Traceback (most recent call last):
File "./mceliece.py", line 140, in
generate(int(args['M']), int(args['N']), int(args['T']), args['PRIV_KEY_FILE'], args['PUB_KEY_FILE'])
File "./mceliece.py", line 38, in generate
mceliece.generate_random_keys()
File ".../mceliece/mceliececipher.py", line 27, in generate_random_keys
self.G, self.H, self.g_poly, self.irr_poly = GoppaCodeGenerator(self.m, self.n, self.t).gen()
File ".../goppa/goppacodegenerator.py", line 63, in gen
raise Exception("irr poly not found")

@MihalacheStefan
Copy link
Author

./mceliece.py --verbose gen 4 10 2 priv pub

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

No branches or pull requests

1 participant