mirror of
https://github.com/actions/toolkit.git
synced 2026-09-03 00:00:07 +02:00
remove hard-coded issuer from JWT verification
Signed-off-by: Brian DeHamer <[email protected]>
This commit is contained in:
@@ -8,7 +8,7 @@ import {attestProvenance, buildSLSAProvenancePredicate} from '../src/provenance'
|
||||
|
||||
describe('provenance functions', () => {
|
||||
const originalEnv = process.env
|
||||
const issuer = 'https://example.com'
|
||||
const issuer = 'https://token.actions.githubusercontent.com'
|
||||
const audience = 'nobody'
|
||||
const jwksPath = '/.well-known/jwks.json'
|
||||
const tokenPath = '/token'
|
||||
|
||||
Reference in New Issue
Block a user