Git Product home page Git Product logo

zipsign's People

Contributors

dependabot[bot] avatar kijewski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

zipsign's Issues

Add ability to remove signature

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?

Cannot install zipsign

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.