Commit Graph

  • 21a0dafae6 feat: enhance chat message handling in WASM by including sender information and user-specific app data Sudo-Ivan 2025-12-30 19:17:37 -06:00
  • 156d642fe6 docs: add Go Build badge to README for CI visibility v0.6.0 Sudo-Ivan 2025-12-30 12:41:36 -06:00
  • 20a1da6a56 docs: update README Sudo-Ivan 2025-12-30 12:35:44 -06:00
  • 0a3d0c9440 refactor: update bandwidth checks in announce forwarding logic to prevent overload Sudo-Ivan 2025-12-30 12:35:32 -06:00
  • 04bd23e753 refactor: adjust rate limiter configuration in AnnounceManager for improved performance Sudo-Ivan 2025-12-30 12:35:21 -06:00
  • a01b253473 refactor: update Limiter implementation to use capacity instead of interval and adjust related tests Sudo-Ivan 2025-12-30 12:35:15 -06:00
  • 53b981cb21 refactor: remove unused hops parameter from ReceivedAnnounce method in WASM handler Sudo-Ivan 2025-12-30 12:32:55 -06:00
  • 6cc82159cf refactor: update WASM build commands in Taskfile to specify the correct package path for Reticulum Sudo-Ivan 2025-12-30 12:28:09 -06:00
  • 5a9bfd74d3 feat: add WASM package with JavaScript API for Reticulum integration Sudo-Ivan 2025-12-30 12:27:59 -06:00
  • 1c3de51913 feat: implement main entry point for WebAssembly (WASM) application with JS integration Sudo-Ivan 2025-12-30 12:27:55 -06:00
  • 25e0719954 fix: handle error when generating random tag in RequestPath method Sudo-Ivan 2025-12-30 12:13:49 -06:00
  • cbff6e4bc4 refactor: optimize WASM build command in Taskfile by adding ldflags for smaller output Sudo-Ivan 2025-12-30 12:09:35 -06:00
  • 4d6eda36c0 feat: add support for building WebAssembly (WASM) targets in CI workflow Sudo-Ivan 2025-12-30 12:09:29 -06:00
  • 18200213f0 feat: add FromBytes function to create Identity from a 64-byte private key representation Sudo-Ivan 2025-12-30 11:42:48 -06:00
  • 3cb375e7f2 refactor: update timeout check in PacketReceipt to use time.Since to fix deadlock Sudo-Ivan 2025-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-Ivan 2025-12-30 11:14:37 -06:00
  • ac0407c954 refactor: update path request handling to use transportIdentity and improve logging with packet length Sudo-Ivan 2025-12-30 01:30:35 -06:00
  • 83abefcf43 refactor: update TestLinkProofValidation to use new ValidateLinkProof signature with network interface parameter Sudo-Ivan 2025-12-30 01:27:58 -06:00
  • 3d4b77bee3 refactor: add SIZE_48 and TOKEN_OVERHEAD constants to common size constants in constants.go Sudo-Ivan 2025-12-30 01:27:50 -06:00
  • 71b6032ea4 refactor: update ValidateLinkProof method to include network interface parameter for enhanced validation Sudo-Ivan 2025-12-30 01:27:45 -06:00
  • 3675d63418 refactor: modify ValidateLinkProof method to accept a network interface parameter for enhanced validation Sudo-Ivan 2025-12-30 01:27:41 -06:00
  • 37652b2d33 refactor: update ValidateLinkProof method to include network interface parameter for improved link validation Sudo-Ivan 2025-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-Ivan 2025-12-30 01:27:30 -06:00
  • f96af89269 refactor: improve path request handling and link packet processing with enhanced logging and error management Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-29 23:59:05 -06:00
  • 3af2be27d8 cleanup: remove extra comments Sudo-Ivan 2025-12-29 23:50:03 -06:00
  • 8e777bef03 refactor: update encryption and decryption processes by deriving key material for HMAC and encryption separately, and improve HMAC validation logic Sudo-Ivan 2025-12-29 23:46:33 -06:00
  • 220912989e fix: improve error handling for incoming link requests by logging errors when handling fails Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-29 23:28:56 -06:00
  • e3d65525b8 feat: add TODOs for path table persistence and improve packet handling logic in transport Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-29 23:27:16 -06:00
  • 4ae59c9716 feat: implement WebSocketInterface for handling WebSocket connections in WASM environment Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-29 23:00:43 -06:00
  • b60d91aa17 refactor: buffer, channel, rate, and resolver packages to introduce constants for magic numbers Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-29 22:32:49 -06:00
  • 48f8288577 Update revive installation in CI workflow to use the latest version from GitHub Sudo-Ivan 2025-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-Ivan 2025-12-29 22:20:48 -06:00
  • 6c3bdaa743 Add revive installation step in CI workflow Sudo-Ivan 2025-12-29 22:17:32 -06:00
  • d8d38fdfe4 Add Bearer security scanner workflow and update README with new badge Sudo-Ivan 2025-12-29 22:14:39 -06:00
  • 82dad74ba8 Update CI workflow to switch from 'master' to 'main' branch for SBOM updates Sudo-Ivan 2025-12-29 22:10:09 -06:00
  • b630122d78 Refactor CI workflow to replace revive installation with Task setup and update linting command. Sudo-Ivan 2025-12-29 22:10:04 -06:00
  • 99e4d92e8e Update README Sudo-Ivan 2025-12-29 22:09:55 -06:00
  • 9fa712c0b1 Refactor CI workflows to utilize Task for build and test steps, add SBOM generation workflow, and remove deprecated steps. Sudo-Ivan 2025-12-29 22:04:58 -06:00
  • 87fc514f32 Add tasks for running tests with race detector and generating SHA256 checksums in Taskfile.yml Sudo-Ivan 2025-12-29 22:04:52 -06:00
  • 1f6f8580a8 Update README Sudo-Ivan 2025-12-29 21:58:48 -06:00
  • 5a3fed8f8b Add tasks for gosec security scanning and WebAssembly builds in Taskfile.yml Sudo-Ivan 2025-12-29 21:58:33 -06:00
  • 5e4b21a431 Add gosec to flake.nix Sudo-Ivan 2025-12-29 21:58:14 -06:00
  • aea98d4cae Add unit tests for RawChannelReader and RawChannelWriter, including methods for reading, writing, and handling messages. Sudo-Ivan 2025-12-29 21:57:20 -06:00
  • 8aa30a39e4 Update CONTRIBUTING.md Sudo-Ivan 2025-12-29 21:40:20 -06:00
  • c3893eb33d refactor: replace magic numbers and string literals with constants Sudo-Ivan 2025-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-Ivan 2025-12-29 00:15:08 -06:00
  • 2fc9446687 Add .dockerignore and update .gitignore to include build artifacts, test binaries, and editor configuration files. Sudo-Ivan 2025-12-28 22:55:38 -06:00
  • 49aee4818b Add unit tests for various packages including config, buffer, debug, pathfinder, rate, and resolver. Sudo-Ivan 2025-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-Ivan 2025-12-28 22:41:51 -06:00
  • 2ae1143b19 Add flake.lock Sudo-Ivan 2025-12-28 22:28:46 -06:00
  • a34c211872 refactor: format code and add more constants Sudo-Ivan 2025-12-28 22:27:16 -06:00
  • fda77ba10d Revise CONTRIBUTING.md Sudo-Ivan 2025-12-28 22:26:44 -06:00
  • 9a93a08b85 Add flake.nix for Reticulum-Go development environment setup Sudo-Ivan 2025-12-28 22:26:35 -06:00
  • 25fa49ffe2 Update README Sudo-Ivan 2025-12-28 22:20:15 -06:00
  • 96c68f2aff Update TODO.md Sudo-Ivan 2025-12-28 22:18:38 -06:00
  • 30210d0714 Add Taskfile for build and development tasks. Sudo-Ivan 2025-12-28 22:17:49 -06:00
  • e8fc291a01 Update README.md Sudo-Ivan 2025-12-28 21:55:03 -06:00
  • ea0797de68 Update License to 0BSD Sudo-Ivan 2025-12-28 21:54:55 -06:00
  • 3cacfadf27 Update Trivy installation URL in Gitea build workflow to use internal asset repository Sudo-Ivan 2025-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-Ivan 2025-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-Ivan 2025-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-Ivan 2025-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-Ivan 2025-12-28 21:21:20 -06:00
  • ea36ba7a65 Update Gitea workflows to use new action paths and add SBOM generation step Sudo-Ivan 2025-12-28 21:07:26 -06:00
  • 8e243a7c8b Update import paths to use the new Gitea paths Sudo-Ivan 2025-12-20 20:02:49 -06:00
  • dd4383a526 Update module path and upgrade golang.org/x/crypto to v0.46.0 Sudo-Ivan 2025-12-20 20:02:28 -06:00
  • 75ddddd537 Remove windows/mac due to gitea runner limitation Sudo-Ivan 2025-12-20 19:50:17 -06:00
  • 6b3fae179f Remove codeql Sudo-Ivan 2025-12-20 19:27:28 -06:00
  • a1834f35f7 Rename to .gitea instaed of .github Sudo-Ivan 2025-12-20 19:24:08 -06:00
  • 804e8ed997 Update README Sudo-Ivan 2025-12-20 19:23:48 -06:00
  • c46d15fc90 Remove Sudo-Ivan 2025-12-20 19:23:38 -06:00
  • 06ac57c677 Update GitHub Actions workflows to use updated artifact upload and download actions Sudo-Ivan 2025-12-20 19:22:38 -06:00
  • ea5c9147da Update README Sudo-Ivan 2025-12-20 19:19:45 -06:00
  • 49bc7fe7f6 Remove deepsource Sudo-Ivan 2025-12-20 19:19:39 -06:00
  • 9b1f45ff77 Update module path to remove the GitHub Sudo-Ivan 2025-12-20 19:19:30 -06:00
  • 0efd83f0e8 Update TODO Sudo-Ivan 2025-12-06 13:11:22 -06:00
  • 7dc9f94771 Update SECURITY.md Sudo-Ivan 2025-12-06 13:11:17 -06:00
  • ae729c2ca7 Configure SLSA Go releaser to set CGO_ENABLED=0 and update Go version handling in workflow Sudo-Ivan 2025-12-06 13:08:27 -06:00
  • 3b3389118f Update to use version instead of hash Sudo-Ivan 2025-12-06 13:01:18 -06:00
  • 66b11b4f39 update slsa releaser action hash Sudo-Ivan 2025-12-06 12:59:04 -06:00
  • afc0779edf Add CodeQL workflow for Go analysis with scheduled runs and pull request triggers Sudo-Ivan 2025-12-06 12:46:45 -06:00
  • a6546d3566 Update SLSA Go releaser workflow to use specific commit hash for builder configuration Sudo-Ivan 2025-12-06 12:46:39 -06:00
  • e59fee8e60 Add SLSA Go releaser configuration and workflow files for automated builds and releases Sudo-Ivan 2025-12-06 12:42:07 -06:00
  • 395b180757 Minor correction Sudo-Ivan 2025-12-06 12:38:28 -06:00
  • b743f57690 Improve error handling in processPathRequest by logging failures during local destination announcement and path request sending Sudo-Ivan 2025-12-06 12:19:46 -06:00
  • bd0c94109e Improve error handling in ValidateLinkProof by logging failures during RTT packet transmission Sudo-Ivan 2025-12-06 12:19:37 -06:00
  • 6896672562 Update AES256 CBC decryption test Sudo-Ivan 2025-12-06 12:19:32 -06:00