Commit Graph

53 Commits

Author SHA1 Message Date
Czarek Nakamoto
6eb571ea49 fix coin control
drop xmruw ci for the time being
2024-09-27 20:00:41 +02:00
Czarek Nakamoto
811ade0116 Fix build issues on latest ubuntu 2024-09-03 08:43:23 +02:00
cyan
d7a38301ec Monero v0.18.3.4 (#38)
* updated monero dependency
* update patches for v0.18.3.4
* update generate checksum to include version of submodule as well
2024-08-26 06:57:16 +02:00
Czarek Nakamoto
c094ed5da6 fix airgap code throwin in non-airgap wallets 2024-07-22 16:25:30 +02:00
Czarek Nakamoto
d1e246aaf4 update wownero patches 2024-07-16 14:11:57 +02:00
cyan
9ae4a5262a update wow patches 2024-07-15 10:28:08 +00:00
Czarek Nakamoto
5aa1f84d09 st sendToDeviceLength while calling setDeviceSendData 2024-07-05 08:40:44 +00:00
Czarek Nakamoto
6fa459b035 fixes 2024-07-03 10:49:14 +00:00
Czarek Nakamoto
67fbe133fd possible fix for dummy device 2024-07-02 13:51:19 +00:00
Czarek Nakamoto
eaa7bdb8be fix missing ledger definition 2024-06-29 07:53:01 +00:00
Czarek Nakamoto
3dda641ced wowner: fix store crash
fix: xmruw ci build
devcontainers
2024-06-28 11:35:47 +00:00
Czarek Nakamoto
956c45ee44 fix ledger issues 2024-06-28 06:27:24 +00:00
Czarek Nakamoto
1829cb8feb fix android build issues 2024-06-26 17:24:09 +02:00
Czarek Nakamoto
34a3616180 add dummy device to monero codebase 2024-06-26 15:41:19 +02:00
Czarek Nakamoto
4f4cde82f7 add the patch to monero codebase 2024-06-25 10:56:47 +02:00
Czarek Nakamoto
57f19be240 return error code instead of just crashing :) 2024-06-24 14:36:29 +02:00
Czarek Nakamoto
45e26e7f64 use-proper-error-handling-in-get_seed.patch 2024-06-24 10:55:16 +02:00
Czarek Nakamoto
cd07e5d211 fix wownero build issues, rename target to proper triplet 2024-06-12 16:53:30 +02:00
Czarek Nakamoto
c25b469c64 pump ndk version for wownero 2024-06-12 08:10:35 +02:00
Czarek Nakamoto
54ed596ec5 macos compat
android fixes
2024-05-23 13:58:42 +02:00
Czarek Nakamoto
c4b28a6a62 -DCMAKE_SYSTEM_VERSION=1
is the workaround to update to newer ndk without breaking the entire build system
2024-05-23 08:03:35 +02:00
Czarek Nakamoto
d41f4fd6d0 fix mingw, darwin builds
break mutex in ledger
2024-05-21 13:59:56 +02:00
Czarek Nakamoto
1ef940fdee fix build issues 2024-05-18 12:43:42 +02:00
Czarek Nakamoto
e2e752c365 wip ur support 2024-05-16 18:26:32 +02:00
Czarek Nakamoto
4a9142a36f fix store crash readme update wownero build fix 2024-05-11 17:32:40 +02:00
Czarek Nakamoto
62d5d5d393 fix darwin cross compilation build 2024-04-26 08:15:47 +02:00
Czarek Nakamoto
bc0705e5d9 -fPIC 2024-04-25 19:17:09 +02:00
Czarek Nakamoto
1f2656712b fix build issues with wownero-seed 2024-04-25 18:45:38 +02:00
Czarek Nakamoto
c8a28fae5e fix wownero build in contrib/depends system 2024-04-25 14:36:57 +02:00
Czarek Nakamoto
b7eab542df wownero-seed support 2024-04-25 10:07:36 +02:00
Czarek Nakamoto
7e49b4ad69 add missing functionality from for cake's polyseed implementation 2024-04-22 12:49:17 +02:00
Czarek Nakamoto
90658235f6 update polyseed commit
change POLYSEED_COIN to wownero in the fork
update wownero patches
2024-04-22 09:33:21 +02:00
Czarek Nakamoto
22f6fb4b63 fix regarding the issues raised during security audit
In the polyseed-examples repository, the `utf8_nfc` and `utf8_nfkd` functions will never return a value exceeding `POLYSEED_STR_SIZE - 1`
In your code, the utf8_norm function has variable return behavior that seems odd
In case of a normalization error, the underlying normalizer will return a negative value, at which point your function just returns POLYSEED_STR_SIZE (this is unclear)
In case the buffer isn't large enough, the normalizer will return the required buffer size but have undefined internal behavior, at which point your function returns a value exceeding POLYSEED_STR_SIZE
Otherwise, it uses the normalizer's return value (indicating the written size) to continue with re-encoding

tobtoht: Czarek Nakamoto: polyseed asserts that the return value < POLYSEED_STR_SIZE, so if normalization fails the program crashes..
> I think my idea was to have have polyseed check the return value and return an error code instead of asserting, which would in turn throw the "Unicode normalization failed" error
> I'll upstream that. In the meantime you can replace the injected function with
```cpp
    inline size_t utf8_norm(const char* str, polyseed_str norm, utf8proc_option_t options) {
      utf8proc_int32_t buffer[POLYSEED_STR_SIZE];
      utf8proc_ssize_t result;

      result = utf8proc_decompose(reinterpret_cast<const uint8_t*>(str), 0, buffer, POLYSEED_STR_SIZE, options);
      if (result < 0 || result > (POLYSEED_STR_SIZE - 1)) {
        throw std::runtime_error("Unicode normalization failed");
      }

      result = utf8proc_reencode(buffer, result, options);
      if (result < 0 || result > POLYSEED_STR_SIZE) {
        throw std::runtime_error("Unicode normalization failed");
      }

      strcpy(norm, reinterpret_cast<const char*>(buffer));
      sodium_memzero(buffer, sizeof(buffer));
      return result;
    }
```
2024-04-19 16:37:42 +02:00
Czarek Nakamoto
1b58a960da polyseed fix
tobtoht:
Since only the composed languages are broken, it could also be that canonical composition is producing weird output. Try dumping whatever seed string is being fed to polyseed_decode to hex and we should be able to tell.
Or try removing UTF8PROC_LUMP from utf8_nfc
2024-04-15 16:17:54 +02:00
Czarek Nakamoto
f5a6dbdd8e credit tobtoht 2024-04-12 11:50:32 +02:00
Czarek Nakamoto
125e64f11f update patches
update readme
2024-04-12 11:13:43 +02:00
Czarek Nakamoto
4adbc8667c update readme 2024-04-04 23:09:29 +02:00
Czarek Nakamoto
939a955cd7 if cases are difficult 2024-04-04 17:45:42 +02:00
Czarek Nakamoto
8c54a73672 fix patch number 2024-04-04 17:08:58 +02:00
Czarek Nakamoto
3789aba98d fix android (i hope) 2024-04-04 15:39:37 +02:00
Czarek Nakamoto
f47a865bac randomx bump 2024-04-02 22:35:39 +02:00
Czarek Nakamoto
3eb727598b actually fix and not workaround the iOS issue. 2024-04-02 19:14:43 +02:00
Czarek Nakamoto
85756e631e update randomx commit 2024-04-02 17:43:13 +02:00
Czarek Nakamoto
e2ad141007 feat: iOS builds
includes patches to
- randomx: https://github.com/tevador/RandomX/pull/294
- randomwow: https://git.wownero.com/wownero/RandomWOW/pulls/2
2024-04-02 17:09:22 +02:00
Czarek Nakamoto
e4cde6dfb8 add wownero patch so it won't crash 2024-04-02 11:57:38 +02:00
Czarek Nakamoto
6f3f187592 monero: fix make debug-tests 2024-04-02 10:29:48 +02:00
Czarek Nakamoto
b034340879 macos support 2024-03-28 10:43:54 +01:00
Czarek Nakamoto
0f206f4bc1 fixed coin control patch for wownero 2024-03-27 16:34:28 +01:00
Czarek Nakamoto
04d0262686 fix wownero coin control
use proper headers
properly apply patches
2024-03-27 15:46:01 +01:00
Czarek Nakamoto
6abd77290c feat: wownero support 2024-03-26 10:00:45 +01:00