-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: rewrite README #624
Closed
+41
−389
Closed
docs: rewrite README #624
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,40 @@ | ||||||||||||||||
# securesystemslib | ||||||||||||||||
|
||||||||||||||||
[![CI](https://github.com/secure-systems-lab/securesystemslib/workflows/Run%20Securesystemslib%20tests/badge.svg)](https://github.com/secure-systems-lab/securesystemslib/actions?query=workflow%3A%22Run+Securesystemslib+tests%22+branch%3Amain) | ||||||||||||||||
|
||||||||||||||||
A cryptography interface to sign and verify | ||||||||||||||||
[TUF](https://theupdateframework.io) and [in-toto](https://in-toto.io) | ||||||||||||||||
metadata. | ||||||||||||||||
|
||||||||||||||||
## Installation | ||||||||||||||||
|
||||||||||||||||
The default installation supports [pure-Python `ed25519` signature | ||||||||||||||||
verification](https://github.com/pyca/ed25519) only. To enable other schemes and | ||||||||||||||||
signature creation, `securesystemslib` can be installed with *extras*. See | ||||||||||||||||
[pyproject.toml](pyproject.toml) for available *optional dependencies*. | ||||||||||||||||
|
||||||||||||||||
```bash | ||||||||||||||||
# Install with ed25519, RSA, ECDSA sign and verify support | ||||||||||||||||
pip install securesystemslib[crypto] | ||||||||||||||||
Comment on lines
+17
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "crypto" is such a confusing term here that maybe worth adding another example
Suggested change
|
||||||||||||||||
``` | ||||||||||||||||
|
||||||||||||||||
## Usage | ||||||||||||||||
[python-securesystemslib.readthedocs.io](https://python-securesystemslib.readthedocs.io) | ||||||||||||||||
|
||||||||||||||||
## Contact | ||||||||||||||||
- Questions and discussions: | ||||||||||||||||
[`#securesystemslib-python`](https://cloud-native.slack.com/archives/C05PF3GA7AL) | ||||||||||||||||
on [CNCF Slack](https://communityinviter.com/apps/cloud-native/cncf) | ||||||||||||||||
- Security issues: [*Draft a new security | ||||||||||||||||
advisory*](https://github.com/secure-systems-lab/securesystemslib/security/advisories/new) | ||||||||||||||||
Comment on lines
+28
to
+29
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||||
- Other issues and requests: [*Open a new | ||||||||||||||||
issue*](https://github.com/secure-systems-lab/securesystemslib/issues/new) | ||||||||||||||||
|
||||||||||||||||
## Testing | ||||||||||||||||
`tox` is used for testing. It can be installed via | ||||||||||||||||
[pip](https://tox.wiki/en/4.9.0/installation.html#via-pip) and executed from the | ||||||||||||||||
command line in the root of the repository. | ||||||||||||||||
|
||||||||||||||||
```bash | ||||||||||||||||
tox | ||||||||||||||||
``` |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is more honest but maybe goes a bit too far? It's not that you can't sign anything you want...
I've added a bit of hopfully still honest marketing -- also mentioned some tech we use so that the "default installation supports ed25519 only" doesn't scare people away.