challenge/context: use additional HTTP headers in challenge key generation if the challenge allows for it

This commit is contained in:
WeebDataHoarder
2025-05-04 20:21:53 +02:00
parent c6a1d50f39
commit 1d2f4e8a5b
4 changed files with 38 additions and 12 deletions

View File

@@ -44,6 +44,9 @@ func FillRegistration(state challenge.StateInterface, reg *challenge.Registratio
reg.Class = challenge.ClassTransparent
// some of regular headers are not sent in default headers
reg.KeyHeaders = challenge.MinimalKeyHeaders
ob := challenge.NewAwaiter[string]()
reg.Object = ob