fulcio
pip-tools
fulcio | pip-tools | |
---|---|---|
6 | 58 | |
600 | 7,477 | |
0.7% | 0.7% | |
9.6 | 8.9 | |
6 days ago | 4 days ago | |
Go | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fulcio
-
NPM Provenance Public Beta
untrue.
The Root CA is generated by the sigstore community (five folks, two from academia) this is what is used for the trust root for the signing. Right now github exchanges a OIDC token for a sigstore root chained cert.
GitLab are currently adding themselves, to have the same capability.
https://github.com/sigstore/fulcio/pull/1097
- [pre-RFC] Using Sigstore for signing and verifying crates
-
Implementing code signing and verification
They also say thay they integrate with Fulcio which seems to be a self-managing CA. Never tried it, though.
-
Freezing Requirements with Pip-Tools
https://docs.sigstore.dev/ :
> sigstore empowers software developers to securely sign software artifacts such as release files, container images, binaries, bill of material manifests and more. Signing materials are then stored in a tamper-resistant public log.
> It’s free to use for all developers and software providers, with sigstore’s code and operational tooling being 100% open source, and everything maintained and developed by the sigstore community.
> How sigstore works: Using Fulcio, sigstore requests a certificate from our root Certificate Authority (CA). This checks you are who you say you are using OpenID Connect, which looks at your email address to prove you’re the author. Fulcio grants a time-stamped certificate, a way to say you’re signed in and that it’s you.
https://github.com/sigstore/fulcio
> You don’t have to do anything with keys yourself, and sigstore never obtains your private key. The public key that Cosign creates gets bound to your certificate, and the signing details get stored in sigstore’s trust root, the deeper layer of keys and trustees and what we use to check authenticity.
https://github.com/sigstore/cosign
> our certificate then comes back to sigstore, where sigstore exchanges keys, asserts your identity and signs everything off. The signature contains the hash itself, public key, signature content and the time stamp. This all gets uploaded to a Rekor transparency log, so anyone can check that what you’ve put out there went through all the checks needed to be authentic.
https://github.com/sigstore/rekor
-
Sigstore: A Solution to Software Supply Chain Security
fulcio is a root CA for code signing certs. Its job is to issue code-signing certificates and to embed OIDC identity into code-signing certificate. From this description we can see that it performs these tasks in steps 2, 3, 4 and 8.
-
Sigstore – A new standard for signing, verifying and protecting software
Did you follow the link to the project list on Github? The actual tool for doing the signing, cosign, is just a binary you can install on your device and generate signatures and keys yourself. The "service" part of it seems to just be having your public certificate vouched for by a trusted code signing CA. I don't see anything in the tooling that requires your users to only trust that CA. If you want to sign your cert with your own CA and tell your users to trust that instead, they seemingly can do that, just as you can do that today in browsers. That you can't do it with Firefox extensions and mobile app stores is a limitation intentionally built into the distribution channel. It's not a limitation of PKI itself. iOS, Android, and Mozilla could have chosen to let users install arbitrary trusted CAs. You shouldn't dismiss all PKI based on the fact that a few vendors have chosen to implement it in a crappy way to make walled gardens.
It doesn't say this on the announcement, but looking at the actual PKI service (https://github.com/sigstore/fulcio), it seems to be entirely possible to self-host the service and roll your own CA.
pip-tools
-
Pyenv – lets you easily switch between multiple versions of Python
> Why is the "requirements.txt" file a stupid flat listing of all transitive dependencies with pinned versions? It makes it harder to change library versions even if there are no true conflicts.
My friend, here is what you seek: https://github.com/jazzband/pip-tools
requirements.txt is flat because it's really the output of `pip freeze`. It's supposed to completely and exactly rebuild the environment. Unfortunately it's far too flexible and people abuse it by putting in only direct dependencies etc.
If you're writing packages, you don't need a requirements.txt at all, by the way. Package dependencies (only direct dependencies) live in pyproject.toml with the rest of the package config. requirements.txt (and pip tools) are only for when you want to freeze the whole environment, like for a server deployment.
-
lockfiles for hatch projects
For all my projects I found myself regenerating manual lock files using complex shell commands with pip-compile to get a reproducible environments across devices using a custom pre-install-command. I finally decided that instead of hacking together the same solution on all my projects I would build a plugin that handles this complexity for me.
-
Setting up Django in a Better Way in 5 Minutes and Understanding How It Works
Instead of venv, we are using pip-tools in this starter kit. pip-tools take things further in dependency management. Check out what pip-tools does in their official GitHub repo. In short, it helps your project find the best match for the dependent packages. For example, you might need two packages A and B in your project that requires same package C under the hood. But A requires any version of C from 1.0.1 to 1.0.10 and B requires any version of C from 1.0.7 to 1.0.15. Pip tools will automatically compile the version of 'C' that suits for both of your packages.
-
just-pip-tools: An example of managing python dependencies as layered lock files with just and pip-tools
I've created a small project called just-pip-tools that combines pip-tools and just to manage Python dependencies in a layered approach. This isn't a magic bullet; it's a set of files you can adapt to your needs.
-
Maintaining virtual environments
For small projects I recommend pip-tools. Just write packet list in requirements.in and pip-compile compile a requirements.txt with comments.
-
how to upgrade psycopg2 to psycopg3 as per django latest documentation
Take a look at pip-tools, great package. https://github.com/jazzband/pip-tools
- Single-file scripts that download their dependencies
-
What are people using to organize virtual environments these days?
pip-tools
-
How to know what a package depend on when pip is installing it?
I recommend generating a lockfile to document this information, as you might do with pip-tools.
-
A not so unfortunate sharp edge in Pipenv
Check out pip-tools [1] which does exactly that, albeit in a slightly more polished way.
[1]: https://github.com/jazzband/pip-tools
What are some alternatives?
rekor - Software Supply Chain Transparency Log
Poetry - Python packaging and dependency management made easy
cosign - Code signing and transparency for containers and binaries
PDM - A modern Python package and dependency manager supporting the latest PEP standards
Rustup - The Rust toolchain installer
Pipenv - Python Development Workflow for Humans.
root-signing
conda - A system-level, binary package and environment manager running on all major operating systems and platforms.
pyflow - An installation and dependency system for Python
pip - The Python package installer
cargo-crev - A cryptographically verifiable code review system for the cargo (Rust) package manager.
miniforge - A conda-forge distribution.