You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signed-off-by: Cody Soyland <[email protected]>
Sync TUF cache used for sigstore bundle verification (sigstore#166)
* sync tuf cache used for sigstore bundle verification
Signed-off-by: Meredith Lancaster <[email protected]>
* remove singleton err
Signed-off-by: Meredith Lancaster <[email protected]>
* start adding lock
Signed-off-by: Meredith Lancaster <[email protected]>
* Use RWMutex
Signed-off-by: Meredith Lancaster <[email protected]>
* pr feedback
Signed-off-by: Meredith Lancaster <[email protected]>
---------
Signed-off-by: Meredith Lancaster <[email protected]>
Fix shadowed trustedroot (sigstore#178)
* Fix shadowed variable bug
This code caused the singleton `trustedRoot` to be returned as nil on subsequent calls. The singleton was shadowed when the variable was redeclared in the `if` block.
Signed-off-by: Cody Soyland <[email protected]>
* Remove unused singleton
`singletonRootError` was never returned without being overwritten, so it was essentially unused. I think it's wise to always retry the TUF call on future invocations in case of network errors.
Signed-off-by: Cody Soyland <[email protected]>
---------
Signed-off-by: Cody Soyland <[email protected]>
0 commit comments