mrkeyoor.comAsk

igmunv/cryptolayertested 06 Oct 2026commit d12adf6

cryptolayer review

CryptoLayer is useful material for protocol study and disposable prototypes.

  • Install 26 s
  • Build 2 s
6/6tests passed
  • 45 packages
Dev Toolsevaluationupdated 25 Oct 2026
+0stars / 7d

CryptoLayer is a Python library for adding an encrypted application layer above an existing messenger or other transport. Its documentation describes encryption, packet signatures, acknowledgments and byte-to-word encoding. Application developers supply the interface and select or implement a transport module. Russian and English documentation are available. The README also lists separate CLI, web and Telegram applications; our recorded library run does not establish that those applications were installed or tested.

Verdict

CryptoLayer is useful material for protocol study and disposable prototypes. Our October 6, 2026 run at d12adf6 recorded successful command steps and pytest output reporting six passes, which does not establish confidential messaging safety. Issue 18 concerns v1.6.3; its August 25 discussion reports several fixes, including the handshake-state fix, while describing transport work as partial. The supplied evidence does not establish that the original reporter independently verified the repaired protocol. Before using it for confidential correspondence, establish the status of those findings against your intended revision and obtain a protocol review.

We ran it

Lab card: what happened when we ran cryptolayer
Lab card from our sandbox run
Screenshot of cryptolayer (github.com/igmunv/cryptolayer)
github.com/igmunv/cryptolayer
Install✓ · 26s45 packages · 64 MB
Build✓ · 2s
Tests✓ · 17s6 passed · 0 failed of 6 (pytest)
Known vulns0(pip-audit)
Repo48 files~2,225 lines of source · 2.8 MB · 2 CI workflows · tests dir

Answers from our run

Does cryptolayer build from source?

Dependencies installed in 26 seconds (45 packages), and the build succeeded in 2 seconds. We cloned commit d12adf6 into a clean Debian container with 3 CPUs and no project-specific setup.

Do cryptolayer's tests pass?

Yes. The project's own test command finished in 17 seconds and reported 6 passed, 0 failed (pytest).

Does cryptolayer have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use cryptolayer?

Anyone seeking established evidence that CryptoLayer is ready for confidential correspondence: the supplied issue discussion reports fixes but does not provide a completed independent reassessment.

What are the alternatives to cryptolayer?

libsignal, OpenPGP.js. CryptoLayer is useful material for protocol study and disposable prototypes.

Setup3/5The October 6, 2026 run at d12adf6 recorded an install-step exit of 0 in 26.019 seconds. The documented integration still requires modules, UIProvider, a dictionary and application configuration; no installed client was verified.
Docs4/5The supplied English documentation covers architecture, integration steps, UIProvider callbacks, identity verification and module development. Our run does not establish that its examples were executed.
Community2/5Issue 18 contains specific contributor responses and reported fixes. The supplied evidence does not establish broad adoption, support responsiveness over time or independent confirmation of those fixes.
Maturity2/5v2.0.0 documents a key-derivation and fingerprint change. Issue 18's follow-up reports several repairs but describes transport work as partial, with no completed independent reassessment in the supplied extract.

Who it’s for

Python developers prototyping an application layer over a replaceable transport.
Readers studying a documented protocol with message chunking, acknowledgments and manual peer verification.
Contributors willing to trace reported security fixes to the exact revision they intend to use.

Who it’s NOT for

Anyone seeking established evidence that CryptoLayer is ready for confidential correspondence: the supplied issue discussion reports fixes but does not provide a completed independent reassessment.
Teams unable to support fingerprint comparison through an independent communication channel.
Developers expecting the core library installation to supply a complete messaging application.
Adopters who need measured transport overhead, delivery reliability or interoperability: our recorded run establishes none of these.

Setup reality

In our recorded run on October 6, 2026, at commit d12adf6f8a80e9314d38c44f0337a6417a10108d, the install step exited successfully in 26.019 seconds. The dependency summary recorded 45 packages and 64 MB. The build-labelled step exited successfully in 2.007 seconds, but its retained output is empty, so the record does not establish which artifact it produced. The test step took 16.878 seconds; its pytest output says "6 passed in 11.40s". The parser recorded 6 passed and 0 failed, without exhaustive unique test coverage verification.

The pip-audit summary recorded an advisory total of 0. Audit coverage is unknown: the record does not establish how many packages were scanned. That result does not assess CryptoLayer's protocol security.

For an application integration, the English guide asks developers to add the core and module collection, install the module interface, implement UIProvider, select a transport module, prepare a byte-word dictionary, and provide a data directory and password. It also describes generating module requirements and hidden imports before installing dependencies. Successful execution of our install step does not prove that a CLI or usable messaging client was installed.

What the successful run establishes

CryptoLayer's six reported pytest passes answer a narrow question about our recorded command run. They do not settle whether its messaging protocol is safe for confidential correspondence.

Our run occurred on October 6, 2026, at commit d12adf6f8a80e9314d38c44f0337a6417a10108d. The recorded sandbox configuration was 3 CPUs, 8 GB of memory and image ghcr.io/astral-sh/uv:python3.12-bookworm. The install output identifies Python 3.12.12.

Recorded step Observation Limit
Install Exit 0 in 26.019 seconds; dependency summary: 45 packages, 64 MB The retained tail identifies the Python environment, not an installed messaging client
Build Exit 0 in 2.007 seconds Empty retained output does not identify a built artifact
Tests Step duration 16.878 seconds; pytest output: 6 passed in 11.40s Parser summary records 6 passed and 0 failed; exhaustive unique coverage was not verified
Dependency audit pip-audit advisory total: 0 Package coverage is unknown; this is not a protocol audit

The record contains no measured messaging workload, installed-binary check, transport reliability result or confidentiality assessment. There was no new execution for this correction.

What you would integrate

The English documentation describes a manager, a layered protocol stack and modules that send and receive through a chosen channel. It assigns compression and encryption to the presentation layer, chunking and acknowledgments to the transport layer, and signatures and byte-to-word encoding to the transition layer. These are documented design claims, rather than behavior independently verified by our run.

A listed channel is not proof of a working adapter. The documentation makes support conditional on a suitable module existing or being developed. Its examples include messengers, network protocols, cloud services and file systems.

Application integration requires more than installing the core. The guide calls for the module collection and interface dependency, UIProvider callbacks, a selected module, a byte-word dictionary, a data directory and a storage password. Module credentials depend on the chosen channel. The documented startup sequence generates module requirements and hidden imports, installs dependencies and starts the application's entry point.

The README lists CryptoLayer CLI, CryptoLayer Web UI and zkgram as separate applications. This review evaluates the core repository; the recorded run does not establish their installation or behavior.

Read the security warning with its follow-up

Issue 18 remains open in the supplied extract. Its original report concerns v1.6.3 and recommends against protecting real correspondence or confidential data until the architectural deficiencies are resolved. It reports problems involving initial key exchange, fingerprint length, file paths, unauthenticated messages and transport logic.

The August 25, 2026 follow-up changes how that warning should be read. A contributor reports that fingerprint length and symmetric-key derivation were fixed in #28, path handling in #21, and unauthenticated-message handling in #20 and #30. The comment also reports that #30 fixed the handshake-state problem by advancing state only after the core accepted the packet and adding handshake timeouts. It would be inaccurate to present that handshake defect as an unchanged outstanding fix on this evidence.

The same contributor describes transport repairs as partial, with some changes in dev and further bounds, lifetime and timestamp work planned. These are contributor reports, not our verification of the measured commit. The original reporter says they will check the fixes later; the supplied discussion contains no completed reassessment from that reporter.

The v2.0.0 release notes identify a change to authenticated AES-key derivation and the signature fingerprint. A release entry and reported fixes give reasons to inspect the revised implementation. They do not establish that every original finding is resolved in the revision an adopter plans to deploy.

Manual identity verification is part of the design

The integration guide requires users to compare peer signatures through another communication channel when a peer is unknown or its identity changes. It explicitly warns against skipping that check. Known peer information is then retained locally.

That requirement belongs in the application's interface and operating procedure. A successful dependency installation cannot establish that people receive a clear verification prompt or complete the comparison correctly. The guide also says that forgetting the storage password requires deleting the data directory, so local identity storage needs attention during application design.

Transport cost needs its own evaluation

The guide describes acknowledgments, retransmission and availability checks. WordCoder replaces each byte with a dictionary word. Neither the packet overhead nor the resulting message size was measured in our run.

In issue 34, opened August 26, 2026, the maintainer requests a reduced mode because one user message produces many underlying packets. The issue raises possible channel overload or account blocking and proposes removing acknowledgments and ping checks in that mode. This is a reported concern and a proposal, not evidence of observed account bans or an implemented reduced mode.

Before selecting a carrier, measure packet volume and delivery behavior with disposable data on the exact module and revision you intend to use. Our run supplies no such result.

How the ratings should be read

These are editorial evidence ratings, not security certifications. The rubric is: 1 means substantial uncertainty or unresolved barriers; 2 means useful material with major limits; 3 means a workable documented path with material adopter work; 4 requires strong documentation or validation for the stated scope; 5 requires extensive corroborated evidence. Unknown adoption and compatibility cannot earn a high score.

Setup receives 3/5 because the install step succeeded and an integration path is documented, but application assembly remains substantial. Documentation receives 4/5 for its English architecture, integration and callback reference, without assuming every example was executed. Community receives 2/5 because the supplied discussion shows concrete contributor responses but does not establish broad adoption or dependable support. Maturity receives 2/5 because reported repairs coexist with partial transport work and no completed independent reassessment in the supplied evidence.

Alternatives depend on the application

OpenPGP.js is relevant if the application needs OpenPGP encryption and signatures in JavaScript. Its README identifies an implementation of RFC 9580 and provides encryption and signing examples. This is a different integration model from CryptoLayer's documented channel modules.

libsignal includes the Signal protocol implementation used by Signal applications, with Java, Swift and TypeScript libraries backed by Rust. Its README explicitly states that use outside Signal is unsupported and APIs can change without notice. Those constraints matter before treating it as a substitute for an application library.

For CryptoLayer, the next useful step is to map issue 18's reported fixes and remaining work to the exact revision you intend to use. Keep confidential correspondence out of the prototype until that assessment and a protocol review provide evidence beyond successful command execution.

Alternatives

ProjectWhat it isPick it when
libsignalSignal's library includes a Signal protocol implementation and Java, Swift and TypeScript APIs backed by Rust.Consider it when evaluating the protocol implementation used by Signal's own applications and you can accept that use outside Signal is unsupported and APIs may change without notice.
OpenPGP.jsA JavaScript implementation of the OpenPGP protocol.Consider it when your application needs OpenPGP encryption and signatures in JavaScript rather than CryptoLayer's documented transport-module integration.

What people are saying

  1. [github-trending] igmunv/cryptolayer

Sources

  1. CryptoLayer English README
  2. CryptoLayer English documentation
  3. CryptoLayer v2.0.0 release
  4. Open security warning issue 18
  5. Reduced packet mode issue 34

More dev tools reviews