kijewski / zipsign Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hi @Kijewski , I started using zipsign and it's working quite well, EXCEPT when I try to add additional binaries to an already zipsigned archive. Detailed scenario below:
In my project, I publish multiple binaries in a GH action workflow using Rust stable where I zip all the binary variants together, and then sign them with zipsign.
https://github.com/jqnatividad/qsv/blob/master/.github/workflows/publish.yml
and it works!
https://github.com/jqnatividad/qsv/actions/runs/6667825852
In a separate "publish-nightly" workflow, I compile with Rust nightly, download the existing Rust stable zipsigned archive for that platform, and then ADD the nightly binary variants to the existing zipsigned archive.
https://github.com/jqnatividad/qsv/blob/master/.github/workflows/publish-nightly.yml
It used to work before, but now, it doesn't as 7z errors out when it tries to add the nightly binaries to the zipsigned archive:
https://github.com/jqnatividad/qsv/actions/runs/6669133903/job/18126246849
I'm thinking, the easiest way to handle this is to add a subcommand to zipsign to remove a signature.
And then I add the additional nightly binaries to the now unsigned zip archive.
And then zipsign it again.
WDYT?
I tried installing it per the README:
cargo install --git https://github.com/Kijewski/zipsign
and also after cloning it locally:
cardo install --path .
and I get this error for both:
error[E0425]: cannot find value `transparent` in this scope
--> api/src/verify/tar.rs:28:17
|
28 | #[error(transparent)]
| ^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `transparent` in this scope
--> api/src/verify/zip.rs:13:17
|
13 | #[error(transparent)]
| ^^^^^^^^^^^ not found in this scope
For more information about this error, try `rustc --explain E0425`.
error: could not compile `zipsign-api` (lib) due to 2 previous errors
OS: macOS Sonoma v14.0
Rust: v1.73.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.