salt-verifier
A library that provides both a client and server that can be used to verify a salt minion’s public key before it is accepted by the master. The server is meant to run on the minion and listen on port 4533. In order to verify the public key of the minion, the client generates random challenge messages that the minion must sign.
Installation
$ pip install salt-verifier
Usage
Run the server:
$ salt-verifier-server
It will load the private key of the current minion from /etc/salt/pki/minion/minion.pem.
From the master, verify the minion by using the client library like so:
from saltverifier.client import is_valid_server_public_key
if is_valid_server_public_key('tcp://minion-ip:4533', 'SOME_PUBLIC_KEY_STR'):
do-something-when-the-public-is-valid
else:
do-something-when-the-public-is-invalid
Install an Upstart Script
For convenience this package provides a command
Metadata
Release files for salt-verifier 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| salt-verifier-0.2.0.tar.gz | 5.8 kB | Without provenance | Details |
Release files / salt-verifier-0.2.0.tar.gz
| Download URL | salt-verifier-0.2.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b8b0facb8a597dff092ce27cee73fd4fb0938c9ee717f2e3fd84cfb75fa6dc06
|
|
BLAKE2b-256 checksum How to use checksums |
16295b2164b6c0512e454170710921ccb0d3fe3d027a525967fd4e8c71075264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for salt-verifier 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.