Ivan
18ba6723f5
feat: implement host capability probing and logging for CPU and memory performance
...
Also some optimization for IFAC
2026-08-26 12:26:13 -05:00
Ivan
4d80188054
feat: add comprehensive fuzz and oracle tests for AES and CBC encryption, ensuring compatibility with Python implementations and validating encryption/decryption processes
2026-08-15 02:51:12 -05:00
Ivan
f2ab3deee2
refactor: simplify AES encryption and decryption by implementing CBC mode directly, and add corresponding tests for CBC functionality
2026-08-15 02:38:24 -05:00
Ivan
d48be92eb4
feat: implement GROUP destination token key management and encryption/decryption functionality
2026-08-13 00:25:08 -05:00
Ivan
90c389c0da
chore: various bug fixes and new tests (see changelog)
2026-07-19 11:55:31 -05:00
Ivan
142abf600d
test: add exploratory tests for various components including blackhole map decoding, message handling, and resource advertisement processing
2026-07-18 07:32:45 -05:00
Ivan
ed4b321ad1
feat: add comprehensive tests for PKCS#7 padding and path request handling, including fuzz tests for edge cases
2026-07-17 20:23:41 -05:00
Ivan
53512b893e
feat: introduce local mesh health counters for better observability and diagnostics
2026-07-16 15:55:18 -05:00
Ivan
c3c5a2c87d
feat: update in-memory storage capabilities and identity management with new configuration options and tests
2026-07-16 14:36:28 -05:00
Ivan
978992d5cc
refactor: optimize cryptographic functions and identity management with caching and improved memory handling
2026-07-16 13:51:28 -05:00
Ivan
51802d56e0
chore: cleanup tests and comments
2026-07-13 08:56:23 -05:00
Ivan
cc4aaff7de
refactor(codebase): various changes to match python reference, cleanup and improving docs
2026-07-07 03:20:50 -05:00
Ivan
8f7ff60dc9
refactor(modules): update module paths and dependencies to quad4 namespace and support offline builds better.
2026-06-14 13:22:30 -05:00
Ivan
63960798d8
Update rest of the paths
2026-05-18 04:50:18 -05:00
Ivan
e5a4ec223d
Update paths
2026-05-18 04:45:11 -05:00
Ivan
69df875b5c
refactor(cryptography): optimize key derivation by preallocating byte slices for improved performance
2026-05-01 04:22:57 -05:00
Ivan
6598667fac
refactor(cryptography): optimize AES256 CBC encryption by improving output buffer handling
2026-05-01 04:22:37 -05:00
Ivan
ca6228bf6e
chore(license header) update license from 0BSD to Apache-2.0 across multiple files
2026-04-30 02:08:36 -05:00
Ivan
8699d49930
refactor(tests): rename parameters in byteSliceNonEmpty and byteSliceMaybeEmpty for clarity
2026-04-21 16:53:50 -05:00
Ivan
6d257ccfc1
test(pbt): add property-based tests for buffer, cryptography, identity, packet, rate, and resource modules
2026-04-21 14:59:21 -05:00
Ivan
62c2b1aabe
refactor: standardize constant naming and update copyright notices
...
- Updated copyright notices across multiple files to reflect the new ownership.
- Refactored constant names to follow Go naming conventions, changing from uppercase to camel case (e.g., `APP_NAME` to `AppName`).
- Adjusted logging levels in debug statements to use the new constants.
- Modified test files to align with the updated constant names and environment variable usage.
2026-04-19 17:07:05 -05:00
Ivan
e823410996
refactor(identity, cryptography): improve signing methods to return errors and implement Ed25519 signer for improved key management
...
This also allows use of HSMs
2026-04-12 20:49:40 -05:00
Ivan
85b0221ae4
refactor(cryptography): implement provider pattern for cryptographic functions and simplify key derivation methods
2026-04-12 19:07:11 -05:00
Ivan
aa61d4e509
feat(cryptography): add RemovePKCS7Padding function to validate and remove PKCS#7 padding securely
2026-04-11 04:10:41 -05:00
Ivan
26fc3f1a42
fix(cryptography): correct HKDF iterations calculation and add output length validation
2026-04-11 04:10:37 -05:00
Ivan
cf4a2f66b8
feat(cryptography): add HKDF-based key expansion function for HMAC and AES keys
2026-04-11 04:10:33 -05:00
Ivan
088b7c0c2d
refactor(cryptography): simplify AES decryption by extracting PKCS7 padding removal into a separate function
2026-04-11 04:10:24 -05:00
Ivan
1af98b67b8
refactor(codebase): replace interface{} with any in multiple using go fix
2026-03-22 14:21:30 +03:00
Sudo-Ivan
8f77968427
style(constants): go fmt
2026-03-10 23:30:53 -05:00
Sudo-Ivan
75ad2bbb98
refactor(cryptography): remove unused AES-256 key size constant
2026-03-10 23:25:46 -05:00
Sudo-Ivan
0c039f80b4
feat(cryptography): add AES256 key size constant and format SHA256 size constant
2026-03-10 23:24:44 -05:00
Sudo-Ivan
1d3a969742
chore: add SPDX license identifier and copyright notice
2025-12-31 20:44:58 -06:00
Sudo-Ivan
5c19b76367
fix: improve error handling in DeriveKey function to return errors for empty secret and zero length key requests
2025-12-30 01:27:30 -06:00
Sudo-Ivan
a34c211872
refactor: format code and add more constants
2025-12-28 22:27:16 -06:00
Sudo-Ivan
6896672562
Update AES256 CBC decryption test
2025-12-06 12:19:32 -06:00
Ivan
5e0c829cf6
Fix: Address various static analysis warnings
...
- **pkg/announce/announce.go**: Added error handling for `rand.Read` to log potential issues when generating random hashes.
- **pkg/buffer/buffer.go**: Removed a redundant `#nosec G115` comment as the line no longer triggers the warning.
- **pkg/cryptography/aes.go**: Added `#nosec G407` to explicitly acknowledge the use of `cipher.NewCBCEncrypter` which is acceptable in this context.
- **pkg/transport/transport.go**: Removed redundant `#nosec G115` comments as the lines no longer trigger the warning.
2025-07-15 13:45:48 -05:00
Ivan
12f487d937
use AES-256-CBC only
2025-07-15 13:31:19 -05:00
Ivan
b9aebc8406
gosec fixes and added #nosec where necassary
2025-07-06 00:33:50 -05:00
Ivan
6e87fc9bcd
go fmt
2025-07-06 00:09:14 -05:00
Ivan
bc05835dae
Add AES 256 and update AES test
2025-07-05 23:59:59 -05:00
Ivan
8114c3bda4
Add unit tests for configuration, cryptography, interfaces, and packet handling.
2025-05-07 18:24:52 -05:00
Sudo-Ivan
c870406244
move cryptography to its own folder/files
2025-01-04 18:17:13 -06:00