Core Framework Encryption Service + Proxy server - with a Cryptonote twist
Find a file
google-labs-jules[bot] 47db6efff9 test: increase test coverage to 100%
- Refactors `trix.Encode` and `trix.Decode` to allow for dependency injection, enabling the testing of I/O error paths.
- Adds comprehensive tests for the `trix` package to cover all error paths.
- Adds tests for the `Fletcher` checksums and `ensureRSA` function in the `crypt` package.
- Adds tests for the `lthn` package to cover the `SetKeyMap` and `GetKeyMap` functions.
- Adds tests for the `chachapoly` package to cover error paths.
- Adds tests for the `rsa` package to cover error paths.
- Fixes the example in `examples/main.go` to work with the refactored `trix` package.
- Refactors the `lthn` keymap test to be thread-safe by using a mutex and `t.Cleanup` to ensure state is properly restored.
- Corrects the `mockReader` implementation in the `trix` tests to adhere to the `io.Reader` interface contract.
2025-11-03 00:42:39 +00:00
.dataset Switching machines, ffmpeg + readable byte stream 2022-01-24 07:43:24 +00:00
.github Integrate Codecov for coverage report uploads 2025-11-02 22:09:54 +00:00
.run Switching machines, ffmpeg + readable byte stream 2022-01-24 07:43:24 +00:00
docs feat: Implement generic .trix file format 2025-10-31 01:06:23 +00:00
examples fix(tests): address race conditions and incorrect mocks 2025-11-03 00:29:26 +00:00
pkg test: increase test coverage to 100% 2025-11-03 00:42:39 +00:00
vault feat: Port crypt library from Core 2025-10-30 17:11:31 +00:00
.gitignore refactor(tests): Co-locate tests with source code 2025-11-02 23:09:24 +00:00
DISCLAIMER.md 42 2022-01-23 21:49:14 +00:00
go.mod feat: Implement RSA service 2025-10-31 14:46:28 +00:00
go.sum feat: Implement RSA service 2025-10-31 14:46:28 +00:00
go.work feat: Update Go version and workflow 2025-10-30 17:47:40 +00:00
go.work.sum feat: Implement OpenPGP service 2025-10-31 14:13:57 +00:00
LICENCE Create LICENCE 2022-01-23 13:07:49 +00:00
README.md Add Codecov badge to README 2025-11-02 22:14:04 +00:00
Taskfile.yml refactor(tests): Co-locate tests with source code 2025-11-02 23:09:24 +00:00

Enchantrix

codecov

Enchantrix is a Go-based encryption library for the Core framework, designed to provide a secure and easy-to-use framework for handling sensitive data in Web3 applications. It will feature Poly-ChaCha stream proxying and a custom .trix file format for encrypted data.

Test-Driven Development

This project follows a strict Test-Driven Development (TDD) methodology. All new functionality must be accompanied by a comprehensive suite of tests.

Getting Started

To get started with Enchantrix, you'll need to have Go installed. You can then run the tests using the following command:

go test ./...