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

PEM support for EC-KCDSA keys #4

Closed
pedroalbanese opened this issue Jan 11, 2024 · 2 comments
Closed

PEM support for EC-KCDSA keys #4

pedroalbanese opened this issue Jan 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@pedroalbanese
Copy link

pedroalbanese commented Jan 11, 2024

Greetings!

Firstly I would like to say that the eckcdsa library does not work on my PC, just making these changes in the util.go file, perhaps because my PC is 32-bit:

func Bytes(bits int) int {
	return int((uint(bits) + 7) & ^uint(0xFFFFFFF8) / 8)
}

But the problem is I can't save the keys in hex, I don't understand how to serialize the keys without losing their structure.

Would it be possible, please, to implement PEM support or Serialize/Deserialize function for EC-KCDSA keys?

Thanks in advance.

@RyuaNerin
Copy link
Owner

Hello. I'll check EC-KCDSA official document.

@RyuaNerin RyuaNerin added the enhancement New feature or request label Jan 15, 2024
RyuaNerin added a commit that referenced this issue Jan 17, 2024
RyuaNerin added a commit that referenced this issue Jan 25, 2024
@pedroalbanese
Copy link
Author

@RyuaNerin

Thank You very much!

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

No branches or pull requests

2 participants