Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyivxv

A Python3 library for common IVXV operations. IVXV is the codename for the current Estonian internet voting system.

This is an independent, 3rd party library. It is not developed or endorsed by the Estonian State Electoral Office. The official IVXV repositories can be found at github.com/valimised.

NB! This library should not be used in production settings, see Security for more details.

You can install pyivxv with:

pip install pyivxv

Usage examples:

from pyivxv.crypto.keys import PublicKey
from pyivxv.encoding.message import decode_from_point

pk = PublicKey.from_public_bytes(b"...")

message = "0000.101"
ct = pk.encode_and_encrypt(message, store_ephemeral=True)

unblinded = ct.unblind(pk.H)
decoded = decode_from_point(unblinded, pk.curve).decode()

print("Message:", message)
print("Encryption randomness:", ct.ephemeral_random)
from pyivxv.crypto.keys import generate_private_key
from pyivxv.crypto.zkp import generate_decryption_proof

sk = generate_private_key()
pk = sk.public_key

message = "0000.101"
ct = pk.encode_and_encrypt(message)
M = sk.decrypt(ct)

proof = generate_decryption_proof(M, ct, sk)
proof.verify(M, ct, pk)

Security

This library is designed for testing and quick scripting, rather than for production use.

This library does not protect against side-channel attacks!

Do not use it to process sensitive data, such as a legitimate vote during an election.
If you do, at a minimum, ensure that no attacker can observe your system during encryption or ciphertext unblinding. This includes, for example:

  • Timing measurements
  • Power consumption measurements
  • RF emissions measurements
  • Running code on the device

Other vulnerabilities may also exist.

Metadata

Release files for pyivxv 0.0.1a6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyivxv 0.0.1a6
File Size Uploaded Provenance Actions
pyivxv-0.0.1a6.tar.gz 11.2 kB With provenance Details for pyivxv-0.0.1a6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyivxv 0.0.1a6
File Interpreter ABI Platform Actions
pyivxv-0.0.1a6-py3-none-any.whl Python 3 none any Details for pyivxv-0.0.1a6-py3-none-any.whl

Total release size: 24.2 kB

Release files / pyivxv-0.0.1a6.tar.gz

Download URL pyivxv-0.0.1a6.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
aef175c5f368c17b6556ea417ea984262193f945e8763ab3488f9bd0a263b1c4
BLAKE2b-256 checksum
How to use checksums
80a12092a936c31fd98176f9f3462c62989b545245ae7a3f50a7a87f45e5385b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 21, 2026.

Transparency log

Release files / pyivxv-0.0.1a6-py3-none-any.whl

Download URL pyivxv-0.0.1a6-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75c2bae81746862dc483da73455748d8677c55780d343f78fef45a3d4fc469c9
BLAKE2b-256 checksum
How to use checksums
53e3f430112f2869eebf6ee1e60d97a8f8eb21ae51f5ff12f7214379b4ac48a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Mar 21, 2026.

Transparency log

Security for pyivxv 0.0.1a6

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyivxv-0.0.1a6.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 Mar 21, 2026.

Transparency log

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page