Skip to content

Validation-Authority Test : TestValidate doesn't produce "Sane" Challenges #217

@jcjones

Description

@jcjones

IsSane in objects.go enforces that the SimpleHTTPS token is base64, but the token generated by SimpleHTTPSChallenge in challenges.go is random from util.go, and quite probably nonsense in base64. Looks like all we really want to know is whether it’s bytes characters long and ASCII?

I've started a test case to call validate inside the VA to exercise the sanity check (which wasn't covered before) which exposed the issue. The test is disabled for now, as it will break the build.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions