Commit Graph

137 Commits

Author SHA1 Message Date
dee38eb6c2 ... 2025-06-16 07:30:37 +02:00
49c879359b ... 2025-06-15 23:44:59 +02:00
c0df07d6df ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 23:05:11 +02:00
6a1e70c484 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:43:49 +02:00
e7e8e7daf8 ... 2025-06-15 22:40:28 +02:00
8a8ead17cb ... 2025-06-15 22:16:40 +02:00
0e7dba9466 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:15:44 +02:00
f0d7636cda ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:12:15 +02:00
3a6bde02d5 ... 2025-06-15 21:51:23 +02:00
3a7b323f9a ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 21:50:10 +02:00
66d5c8588a ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 21:37:16 +02:00
29a06d2bb4 ... 2025-06-15 21:27:21 +02:00
Mahmoud-Emad
bb39f3e3f2 Merge branch 'main' of https://git.threefold.info/herocode/sal
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 20:36:12 +03:00
Mahmoud-Emad
5194f5245d chore: Update Gitea host and Zinit client dependency
- Updated the Gitea host URL in `.roo/mcp.json` and `Cargo.toml`
  to reflect the change from `git.ourworld.tf` to `git.threefold.info`.
- Updated the `zinit-client` dependency in `Cargo.toml` to version
  `0.3.0`.  This ensures compatibility with the updated repository.
- Updated file paths in example files to reflect the new repository URL.
2025-06-15 20:36:02 +03:00
a9255de679 Merge branch 'main' of git.threefold.info:herocode/sal 2025-06-15 16:21:04 +02:00
7d05567ad2 Update git remote URL from git.ourworld.tf to git.threefold.info 2025-06-15 16:21:03 +02:00
timurgordon
c0e11c6510 merge and fix tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
2025-05-23 21:46:11 +03:00
timurgordon
fedf957079 Merge branch 'development_lee' 2025-05-23 21:14:31 +03:00
timurgordon
65e404e517 merge branches and document
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-23 21:12:17 +03:00
944f22be23 Merge pull request 'clean up' (#12) from zinit_client into main
Reviewed-on: #12
2025-05-23 17:37:45 +00:00
887e66bb17 Merge pull request 'mycelium-rhai' (#9) from mycelium-rhai into main
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
Reviewed-on: #9
2025-05-23 16:40:28 +00:00
Lee Smet
e5a4a1b634
Add tests for symmetric keys
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 15:19:45 +02:00
Lee Smet
7f55cf4fba
Add tests for asymmetric keys, add public key export
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 15:05:45 +02:00
Maxime Van Hees
c26e0e5ad8 removed unused imports
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 15:04:00 +02:00
Lee Smet
365814b424
Fix signature key import/export, add tests
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 14:37:10 +02:00
Maxime Van Hees
cc4e087f1d fixed wrong link to file, again
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:32:35 +02:00
Maxime Van Hees
229fef217f fixed wrong link to file
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:32:03 +02:00
Maxime Van Hees
dd84ce3f48 remove command from tutorial
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:30:46 +02:00
Maxime Van Hees
7b8b8c662e Added tutorial on how to send/receive message with 2 mycelium peers running the same host
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:28:49 +02:00
Lee Smet
d29a8fbb67
Rename Store to Vault and move to lib root
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 11:24:27 +02:00
Maxime Van Hees
771df07c25 Add tutorial explain how to use Mycelium in Rhai scripts
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 10:25:51 +02:00
Maxime Van Hees
9a23c4cc09 sending and receiving message via Rhai script + added examples
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-15 17:30:20 +02:00
Lee Smet
2014c63b78
Remove old files
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-15 13:53:54 +02:00
Lee Smet
2adda10664
Basic API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-15 13:53:16 +02:00
Lee Smet
7b1908b676
Use kvstore as backing
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 19:21:02 +02:00
Lee Smet
e9b867a36e
Individiual methods for keystores
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 11:49:36 +02:00
Lee Smet
78c0fd7871
Define the global KeySpace interface
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 11:10:52 +02:00
Lee Smet
e44ee83e74
Implement proper key types
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-13 17:37:33 +02:00
0c425470a5 Merge pull request 'Simplify and Refactor Asymmetric Encryption/Decryption' (#10) from development_fix_code into main
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
Reviewed-on: #10
2025-05-13 13:00:16 +00:00
Maxime Van Hees
3e64a53a83 working example for mycelium
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-13 14:10:32 +02:00
Maxime Van Hees
3225b3f029 corrected response mapping from API requests 2025-05-13 14:10:32 +02:00
Maxime Van Hees
3417e2c1ff fixed merge conflict 2025-05-13 14:10:10 +02:00
Mahmoud Emad
7add64562e feat: Simplify asymmetric encryption/decryption
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Simplify asymmetric encryption by using a single symmetric key
  instead of deriving a key from an ephemeral key exchange.  This
  improves clarity and reduces complexity.
- The new implementation encrypts the symmetric key with the
  recipient's public key and then encrypts the message with the
  symmetric key.
- Improve test coverage for asymmetric encryption/decryption.
2025-05-13 14:45:05 +03:00
Mahmoud Emad
809599d60c fix: Get the code to compile 2025-05-13 14:12:48 +03:00
Mahmoud Emad
25f2ae6fa9 refactor: Refactor keypair and Ethereum wallet handling
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
- Moved `prepare_function_arguments` and `convert_token_to_rhai` to the `ethereum` module for better organization.
- Updated `keypair` module to use the new `session_manager` structure improving code clarity.
- Changed `KeyPair` type usage to new `vault::keyspace::keypair_types::KeyPair` for consistency.
- Improved error handling and clarity in `EthereumWallet` methods.
2025-05-13 13:55:04 +03:00
Lee Smet
dfe6c91273
Fix build issues
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-13 11:45:06 +02:00
a4438d63e0 ... 2025-05-13 08:02:23 +03:00
393c4270d4 ... 2025-05-13 07:28:02 +03:00
495fe92321 Merge branch 'development_keypair_tests'
* development_keypair_tests:
  feat: Add comprehensive test suite for Keypair module
2025-05-13 06:51:30 +03:00
577d80b282 restore 2025-05-13 06:51:20 +03:00