Compute and display subresource integrity (SRI) checksums
Project description
About srisum
srisum is a minimal command-line tool to compute and display the 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
# 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— packagesrisumon npm
Python
hartwork/srisum— packagesrisumon PyPI
Rust
zkat/srisum-rs— packagesrisumon crates.io
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file srisum-1.0.1.tar.gz.
File metadata
- Download URL: srisum-1.0.1.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9fd7b276226ed1f438124f6b814a216f8ed7595dd98fc530371ae4f874549f5
|
|
| MD5 |
f3fdaabf7cbeb2b54977ad5c408a12eb
|
|
| BLAKE2b-256 |
22be5f0a576c4b89a5c23311db014c4f2dea01d34fb993b9b42dc54e8e2c3316
|
File details
Details for the file srisum-1.0.1-py3-none-any.whl.
File metadata
- Download URL: srisum-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0529c0f12bd8d8c11dcc5e234f96f8f3bcef7f4108a6cf0e225a1b117efd01e
|
|
| MD5 |
9391ab98f59d198cbf770c90446f455f
|
|
| BLAKE2b-256 |
d3251468c630f83711afe47f2a3b59bacf8878b809d67e4f7266bb6ad6e888bf
|