Skip to content

Commit

Permalink
ndn: switch to email challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Mar 4, 2025
1 parent dcec6a9 commit ddfc6f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndn/app/ndncert.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ func (a *App) NdncertEmail(email string, CodeCb func(status string) string) (err

// Request a certificate from NDNCERT
certRes, err := certClient.RequestCert(ndncert.RequestCertArgs{
Challenge: &ndncert.ChallengePin{
// Email: email,
Challenge: &ndncert.ChallengeEmail{
Email: email,
CodeCallback: CodeCb,
},
OnProfile: func(profile *spec_ndncert.CaProfile) error {
Expand Down
Binary file modified public/main.wasm
Binary file not shown.

0 comments on commit ddfc6f1

Please sign in to comment.