Skip to content

tail recursive key parsing#79

Open
ygrek wants to merge 3 commits intomasterfrom
tailrec
Open

tail recursive key parsing#79
ygrek wants to merge 3 commits intomasterfrom
tailrec

Conversation

@ygrek
Copy link
Copy Markdown
Member

@ygrek ygrek commented Jun 24, 2020

Continuing the work in #78
Now it is possible to import the following key (prz@acm.org) with stack lowered to 1MB (ulimit -s 1024) :

1 selfsigs, 5 uids (101025 packets), 1 subkeys (273 packets)

TODO:

  • extract the anomaly key and make a test case
  • measure speed

@ygrek ygrek self-assigned this Jun 24, 2020
@wiml
Copy link
Copy Markdown
Contributor

wiml commented Jun 25, 2020

I wonder if it would make sense to use a delayed/lazy sequence for some of this (the Seq module in stdlib)?

@ygrek
Copy link
Copy Markdown
Member Author

ygrek commented Jun 29, 2020

my only concern is List.rev on signatures, but i don't expect it to be costly on average. I don't want to raise minimum ocaml version or add more dependencies until making a release.

@Neustradamus
Copy link
Copy Markdown

@ygrek: Any progress on it?

@ygrek
Copy link
Copy Markdown
Member Author

ygrek commented Oct 27, 2025

but what's the purpose? sks cannot be protected from span without some major changes to overall operation (verification of signatures in some way)

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.

3 participants