MCPcopy Create free account
hub / github.com/angular/dev-infra / getEmbeddedCredential

Function getEmbeddedCredential

github-actions/bazel/configure-remote/index.ts:59–63  ·  view source on GitHub ↗

Extract the embeeded credential from the action.

()

Source from the content-addressed store, hash-verified

57
58/** Extract the embeeded credential from the action. */
59function getEmbeddedCredential(): string {
60 const t: Uint8Array = tokenRaw;
61 const dcip = createDecipheriv(alg, k, iv).setAuthTag(Buffer.from(at, 'base64'));
62 return dcip.update(t, undefined, 'utf8') + dcip.final('utf8');
63}
64
65main().catch((e) => {
66 console.error(e);

Callers 1

mainFunction · 0.70

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected