Comments (2)
@lukpueh exactly, that's why I actually prefer to wait until Go 1.15, because this bug will get fixed in Go 1.15:
- the corresponding issue on upstream: golang/go#34129
- corresponding PR: https://go-review.googlesource.com/c/go/+/219639/
- corresponding PR on Github: golang/go@2f54081
from in-toto-golang.
Great find, @shibumi! I didn't know that os.Exit skipped defers. If we use a vanilla teardown function call instead of defer, like you propose above, then we somehow need to make sure to teardown if we exit prematurely, e.g. to do an undeferred panic.
from in-toto-golang.
Related Issues (20)
- CycloneDX predicate is wrong HOT 1
- non unique dictionary key error HOT 9
- Support v1.0 SLSA provenance format
- in-toto-golang does not provide defaults for excluding artifacts HOT 7
- Inconsistent path match behaviour compared to python implementation HOT 4
- Option to substitute signing algorithm to a custom version HOT 3
- Verification using ED25519 keys for functionaries returns error HOT 9
- Typo in provenance structure HOT 1
- Revisit type assertions
- in-toto-golang record stop doesn't removes unfinished link. HOT 2
- Add OpenSSF Scorecards HOT 3
- Use in-toto/attestation Go bindings for Statement and SLSA provenance predicate layers
- ALLOW pattern doesn't work as expected on windows HOT 1
- Oversight in the SLAS v1 field `invocationID`? HOT 7
- Define intoto v1.0 statement type HOT 6
- Improve Scorecard score for in-toto-golang HOT 1
- CII OpenSSF best-practice badge HOT 1
- Source code missing for test/data/helloworld binary HOT 4
- Units Tests are Failing
- Request to support signing using AWS KMS keys HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from in-toto-golang.