tiny_pacs_identity
User management and association authentication for tiny_pacs: user accounts live in the database and incoming associations are authenticated according to the calling device’s identity policy (DICOM User Identity negotiation, PS3.7 D.3.3.7).
What it provides
The Users component — keeps user accounts (salted password hashes, an active flag, last-login bookkeeping) in the database.
The UserIdentityAuth component — authenticates incoming associations against the calling device’s per-device identity policy (none, username, password); known devices without a policy fall back to default_policy, unknown devices to unknown_device_policy (none, username, password or reject).
The tiny-pacs users list|add|passwd|remove|set-active subcommands for offline user management. Passwords are prompted and never accepted as command line arguments.
It depends on the core only: the per-device identity policy vocabulary (tiny_pacs.identity.IdentityPolicy) and the user management events live in tiny_pacs, and device registries are reached through the core device events.
Installation
pip install tiny-pacs-identity
or with the convenience extra:
pip install tiny_pacs[identity]
Installing the extension never changes server behaviour: both components stay disabled until enabled in the configuration.
Configuration
components:
DeviceStore:
on: true
default_identity: none # policy for auto-added devices
Users:
on: true
UserIdentityAuth:
on: true
default_policy: none # known devices without a policy
unknown_device_policy: none # none | username | password | reject
Set a per-device policy in YAML (identity: password next to the device) or with tiny-pacs devices add/update --identity. A “require identity everywhere” deployment is default_policy: password plus unknown_device_policy: reject.
Create users with the CLI against the offline database before starting the server:
tiny-pacs users add alice
tiny-pacs users list
Security note: User Identity negotiation transmits credentials inside A-ASSOCIATE. Enable TLS (ae.tls) whenever non-none identity policies are used.
Documentation
See the User identity tutorial in the tiny_pacs documentation.
Metadata
Release files for tiny-pacs-identity 0.1.1
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 | Actions |
|---|---|---|---|---|
| tiny_pacs_identity-0.1.1.tar.gz | 13.1 kB | With provenance | Details for tiny_pacs_identity-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tiny_pacs_identity-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for tiny_pacs_identity-0.1.1-py3-none-any.whl |
Total release size: 28.2 kB
Release files / tiny_pacs_identity-0.1.1.tar.gz
| Download URL | tiny_pacs_identity-0.1.1.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4982bb84b31a86e225cbd8ace1fbab09af63b2bbe8c5ce4162871eef71a6b734
|
|
BLAKE2b-256 checksum How to use checksums |
54770cf6094ded9a4bb7722d2075d73945afc54ab873d5d09fda397c343b914d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logRelease files / tiny_pacs_identity-0.1.1-py3-none-any.whl
| Download URL | tiny_pacs_identity-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ee1ffae75d08fb1f510cb7f9b9865b6960b6dbd1c7596bfaaff574e41973680
|
|
BLAKE2b-256 checksum How to use checksums |
86da8d7f4147111a0d4e708f3d107e12c94d340274204322934ab63d07c2c9d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logSecurity for tiny-pacs-identity 0.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for tiny_pacs_identity-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.