MCPcopy Create free account
hub / github.com/celzero/firestack / createPermaCreds

Function createPermaCreds

intra/ipn/rpn/yegor.go:2610–2662  ·  view source on GitHub ↗

createPermaCreds calls POST WgConfigs/permanent to create a permanent WG config. If pubkey is empty the server generates both the private and public keys.

(h *http.Client, ent *WsEntitlement, bearer, pubkey string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

initAndConnectCredsFunction · 0.85
managedPermaCredsFnFunction · 0.85

Calls 15

EEFunction · 0.92
VFunction · 0.92
CloseFunction · 0.92
IFunction · 0.92
wsRandomPortFunction · 0.85
tokenStateFunction · 0.85
baseurlFunction · 0.85
authHeaderFunction · 0.85
didAndDBHeaderFunction · 0.85
updateDidTokenIfNeededFunction · 0.85
wsErrFunction · 0.85
wsResFunction · 0.85

Tested by

no test coverage detected