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

Questions about implementations and types #264

Open
benluelo opened this issue Jan 9, 2024 · 1 comment
Open

Questions about implementations and types #264

benluelo opened this issue Jan 9, 2024 · 1 comment
Labels
question Further information is requested

Comments

@benluelo
Copy link

benluelo commented Jan 9, 2024

Hello, we are working on an implementation of the ics23 spec and we have a few questions about the spec and implementations found here.

@crodriguezvega crodriguezvega added the question Further information is requested label Jan 18, 2024
@colin-axner
Copy link
Contributor

Not sure if you still need answers (if not can we close?)

(1) looks to be ensuring that the resulting child is not greater than the child size, but I'm unsure why the &&
(2) interesting question! I cannot fathom how an empty inner spec could ever be used in practice (this should probably be made more explicit in the code)
(3) I just deobfuscated the code. Along with other things, it ensures the prefix is bounded such that an attacker cannot use it to prove a key which doesn't exist

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

No branches or pull requests

3 participants