Skip to content

Conversation

@Philip-NLnetLabs
Copy link
Member

No description provided.

@Philip-NLnetLabs Philip-NLnetLabs changed the title Add option to find an NSEC3 with a specified prefix. Add option to find an NSEC3 hash with a specified prefix. Dec 17, 2025
salt: &Nsec3Salt<Vec<u8>>,
env: impl Env,
) -> Result<(), Error> {
for u in 0.. {
Copy link
Member

@mozzieongit mozzieongit Dec 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this run forever if no prefix is found?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I sort of assumed (but not verified) that this run until max int. So not literally for ever. With the current speed and a u64, I don't think anyone wants to wait that long. I could add an option to limit the number of tries, but why?

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