Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hartwork/srisum
Compute and display subresource integrity (SRI) checksums
https://github.com/hartwork/srisum
base64 checksum-calculation checksum-calculator cli command-line-tool nixos python-3 python3 sri subresource-integrity
Last synced: about 2 months ago
JSON representation
Compute and display subresource integrity (SRI) checksums
- Host: GitHub
- URL: https://github.com/hartwork/srisum
- Owner: hartwork
- License: mit
- Created: 2021-05-26T18:46:20.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-15T21:06:17.000Z (about 2 years ago)
- Last Synced: 2024-10-12T00:21:31.947Z (2 months ago)
- Topics: base64, checksum-calculation, checksum-calculator, cli, command-line-tool, nixos, python-3, python3, sri, subresource-integrity
- Language: Python
- Homepage: https://pypi.org/project/srisum/
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# About `srisum`
**srisum** is a minimal command-line tool to
compute and display
the [Subresource Integrity](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) checksum
of a local file or a remote file accessible via an HTTPS URL.That is useful in at least these two contexts:
- Adding new static file asset to an existing HTML document
- Bumping a nixOS package for nixOS from a non-nixOS host**srisum** is software libre
written in Python 3
and licensed under the MIT license.# Installation
```console
# pip install srisum
```# Example
```
# srisum https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.xz
sha256-zwMtDbqbkoY2VI4ysyei1msaq2PE9KE90TLC0dLy+2o=
```# Alternatives
## JavaScript
- [`zkat/srisum`](https://github.com/zkat/srisum) — package `srisum` [on npm](https://www.npmjs.com/package/srisum)
## Python
- [`hartwork/srisum`](https://github.com/hartwork/srisum) — package `srisum` [on PyPI](https://pypi.org/project/srisum/)
## Rust
- [`zkat/srisum-rs`](https://github.com/zkat/srisum-rs) — package `srisum` [on crates.io](https://crates.io/crates/srisum)