0a3d0c9440
refactor: update bandwidth checks in announce forwarding logic to prevent overload
Sudo-Ivan2025-12-30 12:35:32 -06:00
04bd23e753
refactor: adjust rate limiter configuration in AnnounceManager for improved performance
Sudo-Ivan2025-12-30 12:35:21 -06:00
a01b253473
refactor: update Limiter implementation to use capacity instead of interval and adjust related tests
Sudo-Ivan2025-12-30 12:35:15 -06:00
53b981cb21
refactor: remove unused hops parameter from ReceivedAnnounce method in WASM handler
Sudo-Ivan2025-12-30 12:32:55 -06:00
6cc82159cf
refactor: update WASM build commands in Taskfile to specify the correct package path for Reticulum
Sudo-Ivan2025-12-30 12:28:09 -06:00
5a9bfd74d3
feat: add WASM package with JavaScript API for Reticulum integration
Sudo-Ivan2025-12-30 12:27:59 -06:00
1c3de51913
feat: implement main entry point for WebAssembly (WASM) application with JS integration
Sudo-Ivan2025-12-30 12:27:55 -06:00
25e0719954
fix: handle error when generating random tag in RequestPath method
Sudo-Ivan2025-12-30 12:13:49 -06:00
cbff6e4bc4
refactor: optimize WASM build command in Taskfile by adding ldflags for smaller output
Sudo-Ivan2025-12-30 12:09:35 -06:00
4d6eda36c0
feat: add support for building WebAssembly (WASM) targets in CI workflow
Sudo-Ivan2025-12-30 12:09:29 -06:00
18200213f0
feat: add FromBytes function to create Identity from a 64-byte private key representation
Sudo-Ivan2025-12-30 11:42:48 -06:00
3cb375e7f2
refactor: update timeout check in PacketReceipt to use time.Since to fix deadlock
Sudo-Ivan2025-12-30 11:31:51 -06:00
53d418d753
refactor: update Taskfile to change output paths for WASM build and add example tasks for various functionalities
Sudo-Ivan2025-12-30 11:14:37 -06:00
ac0407c954
refactor: update path request handling to use transportIdentity and improve logging with packet length
Sudo-Ivan2025-12-30 01:30:35 -06:00
83abefcf43
refactor: update TestLinkProofValidation to use new ValidateLinkProof signature with network interface parameter
Sudo-Ivan2025-12-30 01:27:58 -06:00
3d4b77bee3
refactor: add SIZE_48 and TOKEN_OVERHEAD constants to common size constants in constants.go
Sudo-Ivan2025-12-30 01:27:50 -06:00
71b6032ea4
refactor: update ValidateLinkProof method to include network interface parameter for enhanced validation
Sudo-Ivan2025-12-30 01:27:45 -06:00
3675d63418
refactor: modify ValidateLinkProof method to accept a network interface parameter for enhanced validation
Sudo-Ivan2025-12-30 01:27:41 -06:00
37652b2d33
refactor: update ValidateLinkProof method to include network interface parameter for improved link validation
Sudo-Ivan2025-12-30 01:27:36 -06:00
5c19b76367
fix: improve error handling in DeriveKey function to return errors for empty secret and zero length key requests
Sudo-Ivan2025-12-30 01:27:30 -06:00
f96af89269
refactor: improve path request handling and link packet processing with enhanced logging and error management
Sudo-Ivan2025-12-30 01:27:21 -06:00
6704c620c8
refactor: enhance link handling by adding detailed logging for request processing, establishing links, and improving error handling during encryption and decryption
Sudo-Ivan2025-12-30 01:27:16 -06:00
738aa9528a
refactor: encryption and decryption methods by deriving HMAC and encryption keys based on key length, and update HMAC validation logic
Sudo-Ivan2025-12-29 23:59:58 -06:00
ff1589216b
fix: simplify dependency installation step in CI workflow by renaming task and removing unnecessary setup step
Sudo-Ivan2025-12-29 23:59:05 -06:00
8e777bef03
refactor: update encryption and decryption processes by deriving key material for HMAC and encryption separately, and improve HMAC validation logic
Sudo-Ivan2025-12-29 23:46:33 -06:00
220912989e
fix: improve error handling for incoming link requests by logging errors when handling fails
Sudo-Ivan2025-12-29 23:45:36 -06:00
177dc3a099
test: add comprehensive tests for link request handling and response processing, including mock transport and interface implementations
Sudo-Ivan2025-12-29 23:29:04 -06:00
df3497b725
refactor: streamline request handling logic by consolidating type checks for requested_at and request_payload, and rename max function for clarity
Sudo-Ivan2025-12-29 23:28:56 -06:00
e3d65525b8
feat: add TODOs for path table persistence and improve packet handling logic in transport
Sudo-Ivan2025-12-29 23:27:32 -06:00
474bb2ff33
feat: enhance destination handling by auto-registering with transport for incoming directions and adding packet reception logic
Sudo-Ivan2025-12-29 23:27:23 -06:00
5707c230e2
fix: update request handling to support multiple data types for requested_at, path_hash, and request_payload, and improve logging for request processing
Sudo-Ivan2025-12-29 23:27:16 -06:00
4ae59c9716
feat: implement WebSocketInterface for handling WebSocket connections in WASM environment
Sudo-Ivan2025-12-29 23:00:53 -06:00
59060d6002
feat: add TCPClientInterface methods for setting timeouts on Linux and OSX in new tcp_wasm.go file
Sudo-Ivan2025-12-29 23:00:48 -06:00
ed413b62a1
fix: update wasm_exec.js copy logic to check both lib and misc directories for improved compatibility
Sudo-Ivan2025-12-29 23:00:43 -06:00
b60d91aa17
refactor: buffer, channel, rate, and resolver packages to introduce constants for magic numbers
Sudo-Ivan2025-12-29 22:38:39 -06:00
d465f103ec
Add 'bearer:disable go_gosec_unsafe_unsafe' comments in tcp_linux.go to suppress specific security scanner warnings related to unsafe operations.
Sudo-Ivan2025-12-29 22:33:17 -06:00
fcfd04c0c2
Add 'bearer:disable go_gosec_filesystem_filereadtaint' comments to file loading functions across config and identity modules to suppress specific security scanner warnings
Sudo-Ivan2025-12-29 22:33:07 -06:00
b25f2c2bdc
Refactor Channel message handler management to use structured entries with IDs for easier identification. Update AddMessageHandler and RemoveMessageHandler methods accordingly, and adjust tests to validate new functionality.
Sudo-Ivan2025-12-29 22:32:57 -06:00
7bb127526c
Refactor RawChannelReader to use a map for callbacks instead of a slice, enabling callback identification by ID. Update AddReadyCallback and RemoveReadyCallback methods accordingly. Adjust tests to reflect these changes.
Sudo-Ivan2025-12-29 22:32:49 -06:00
48f8288577
Update revive installation in CI workflow to use the latest version from GitHub
Sudo-Ivan2025-12-29 22:22:01 -06:00
7086926839
Add 'bearer:disable' comments to configuration and identity file loading functions to suppress security scanner warnings
Sudo-Ivan2025-12-29 22:20:48 -06:00
6c3bdaa743
Add revive installation step in CI workflow
Sudo-Ivan2025-12-29 22:17:32 -06:00
d8d38fdfe4
Add Bearer security scanner workflow and update README with new badge
Sudo-Ivan2025-12-29 22:14:39 -06:00
82dad74ba8
Update CI workflow to switch from 'master' to 'main' branch for SBOM updates
Sudo-Ivan2025-12-29 22:10:09 -06:00
b630122d78
Refactor CI workflow to replace revive installation with Task setup and update linting command.
Sudo-Ivan2025-12-29 22:10:04 -06:00
9fa712c0b1
Refactor CI workflows to utilize Task for build and test steps, add SBOM generation workflow, and remove deprecated steps.
Sudo-Ivan2025-12-29 22:04:58 -06:00
87fc514f32
Add tasks for running tests with race detector and generating SHA256 checksums in Taskfile.yml
Sudo-Ivan2025-12-29 22:04:52 -06:00
aea98d4cae
Add unit tests for RawChannelReader and RawChannelWriter, including methods for reading, writing, and handling messages.
Sudo-Ivan2025-12-29 21:57:20 -06:00
c3893eb33d
refactor: replace magic numbers and string literals with constants
Sudo-Ivan2025-12-29 00:25:28 -06:00
53e98c73af
Add unit tests for Reticulum-Go packages including reticulum, storage, announce, channel, destination, identity, resource, and transport, ensuring comprehensive coverage of functionality.
Sudo-Ivan2025-12-29 00:15:08 -06:00
2fc9446687
Add .dockerignore and update .gitignore to include build artifacts, test binaries, and editor configuration files.
Sudo-Ivan2025-12-28 22:55:38 -06:00
49aee4818b
Add unit tests for various packages including config, buffer, debug, pathfinder, rate, and resolver.
Sudo-Ivan2025-12-28 22:55:28 -06:00
430290deaf
Fix Gitea build workflow to verify and upload SPDX SBOM files, ensuring proper error handling and file existence checks.
Sudo-Ivan2025-12-28 22:41:51 -06:00
3cacfadf27
Update Trivy installation URL in Gitea build workflow to use internal asset repository
Sudo-Ivan2025-12-28 21:44:59 -06:00
45878f0666
Add Trivy installation step to Gitea build workflow and update upload-artifact action to v3.2.1
Sudo-Ivan2025-12-28 21:34:55 -06:00
483234eee0
Update Gitea build workflow to use the latest version of the upload-artifact action (v3.2.0-node20)
Sudo-Ivan2025-12-28 21:30:41 -06:00
82523cc7df
Update SECURITY.md to include Gitea instance for actions, specify CycloneDX for BOM generation, and clarify vulnerability reporting process.
Sudo-Ivan2025-12-28 21:21:34 -06:00
634ff693de
Remove .slsa-goreleaser.yml configuration file and update Gitea build workflow to include SPDX SBOM generation and additional artifact uploads.
Sudo-Ivan2025-12-28 21:21:20 -06:00
ea36ba7a65
Update Gitea workflows to use new action paths and add SBOM generation step
Sudo-Ivan2025-12-28 21:07:26 -06:00
8e243a7c8b
Update import paths to use the new Gitea paths
Sudo-Ivan2025-12-20 20:02:49 -06:00
dd4383a526
Update module path and upgrade golang.org/x/crypto to v0.46.0
Sudo-Ivan2025-12-20 20:02:28 -06:00
75ddddd537
Remove windows/mac due to gitea runner limitation
Sudo-Ivan2025-12-20 19:50:17 -06:00
b743f57690
Improve error handling in processPathRequest by logging failures during local destination announcement and path request sending
Sudo-Ivan2025-12-06 12:19:46 -06:00
bd0c94109e
Improve error handling in ValidateLinkProof by logging failures during RTT packet transmission
Sudo-Ivan2025-12-06 12:19:37 -06:00
6896672562
Update AES256 CBC decryption test
Sudo-Ivan2025-12-06 12:19:32 -06:00