Skip to content

Commit

Permalink
Merge pull request #29 from UCLA-IRL/varun/ndncert
Browse files Browse the repository at this point in the history
give ndncert more breathing time
  • Loading branch information
zjkmxy authored Nov 16, 2023
2 parents 8a0b668 + dba0a93 commit 7059db9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/connect/ndn-testbed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { TestbedAnchorName } from "../../constants"
import { bytesToBase64 } from "../../utils"
import { Encoder } from "@ndn/tlv"
import { WsTransport } from "@ndn/ws-transport"
import { Endpoint } from "@ndn/endpoint";

type Resolver = { resolve: (pin: string | PromiseLike<string>) => void }

Expand Down Expand Up @@ -91,6 +92,12 @@ export default function NdnTestbed(props: {

// New step
const cert = await ndncert.requestCertificate({
endpoint: new Endpoint({
retx: {
limit: 4,
interval: 5000,
}
}),
profile: caProfile,
privateKey: prvKey,
publicKey: pubKey,
Expand Down

0 comments on commit 7059db9

Please sign in to comment.