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

Add support for different LMS levels to use different parameter sets #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fluppe2
Copy link

@fluppe2 fluppe2 commented Jan 22, 2023

The interface to HSS now handles single type codes (as previously) and also lists of type codes. Using lists it is now possible to instantiate a heterogeneous HSS instance as allowed in RFC8554 (see §6).

@fluppe2
Copy link
Author

fluppe2 commented Jan 27, 2023 via email

@russhousley
Copy link
Owner

I want this code to work in Python 2.7, even though it is obsolete. I get a run-time error:

SyntaxError: Non-ASCII character '\xc2' in file pyhsslms/pyhsslms.py on line 998, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

This is actually the use of non-ASCII characters in a comment.

@russhousley
Copy link
Owner

The change that you made in TestHSS means that this change is not backward compatible. That is, if a private key was generated with the current code, then it cannot be used to sign with the new code.

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

Successfully merging this pull request may close these issues.

2 participants