Skip to main content
File added late

1 file was added to this release more than 14 days after its initial publication. Inspect the release files before installing.

The goal of this project is to be a minimalistic IKEv2 (RFC 5996) implementation in Python.

Status

This project is in early stages. Use at own risk.

It will make your IP stack talk ESP to the remote peer.

What it can do:

  • Act as an initiator

  • Authenticate itself and peer using raw RSA keys.

  • Install ESP SAs and SPD entries to use the key material via setkey command from ipsec-tools.

Limitations (hardcoded values):

  • Cipher algorithm is Camellia in CBC mode with 256 bit keys.

  • HMAC / Hash / PRF algorithm is SHA2/256.

  • IKE group is Diffie-Hellman modp 14.

  • Authentication (both own private and peer public) key file paths are hardcoded.

  • ‘setkey’ syntax is of whatever the ipsec-tools on Debian 7.1 accept.

  • Traffic selectors are myip:any:0-65535 <-> peerip:any:0-65535

Design principles

  • Minimal amount of code.

  • Support MUST features of draft-kivinen-ipsecme-ikev2-rfc5996bis-02 (RFC 5996 successor)

  • Use strongest algorithms possible.

Documentation

You can read the Documentation at https://pythonhosted.org/ike

What this project is NOT going to be

  • ISAKMP (IKEv1) RFC 2409 compliant

  • IPSec data plane / ESP protocol

License

  • MIT License

References

Release files for ike 0.1.1

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

File added late

1 file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distribution (sdist)

Source distribution for ike 0.1.1
File Size Uploaded
ike-0.1.1.tar.gz 16.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ike 0.1.1
File Interpreter ABI Platform
ike-0.1.1-py3-none-any.whl Python 3 none any Details
ike-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 59.1 kB

Release files / ike-0.1.1.tar.gz

Download URL ike-0.1.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
91e90e5ad54df0052f04feefdcc8954dd12c824ba76e5b6076c1802de10e946f
BLAKE2b-256 checksum
How to use checksums
2a3143fe30090ec31bc1f369abd5fa318d2e4d9bf4dd19492c9cd621837f3205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ike-0.1.1-py3-none-any.whl

Download URL ike-0.1.1-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecf264ba7db2b5342c296765d2e60cc1838445050253009bed184c25a2da4f90
BLAKE2b-256 checksum
How to use checksums
9d8518d5e1db193a8c4dec5ffab3a9fe3f88615b69bdeec31eac8fbcf9cf56c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ike-0.1.1-py2.py3-none-any.whl

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL ike-0.1.1-py2.py3-none-any.whl
Size 20.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
16c2ae45fe625cb91354d5bc29f39100cf2b43ca8333d26e046ad2992d09180d
BLAKE2b-256 checksum
How to use checksums
b0f9d4295184d1e3bed8e1e9c6bdaa861d4cb652eb0fce47cb0293ef252e4152
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files

0.1.0

3 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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