View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009952 | Taler | qtart | public | 2025-05-13 14:02 | 2025-05-13 14:40 |
Reporter | fefe | Assigned To | Florian Dold | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Summary | 0009952: js_talercrypto_eddsa_key_get_public: minor code readability suggestion | ||||
Description | In tart_module.c: 539 unsigned char pk[crypto_sign_PUBLICKEYBYTES]; 540 unsigned char sk[crypto_sign_SECRETKEYBYTES]; 541 542 buf = expect_fixed_buffer(ctx, argv[0], 32, "eddsa private key"); The 32 is unexplained. crypto_sign_PUBLICKEYBYTES is 32 and could be what is meant here. crypto_sign_SECRETKEYBYTES is 64 and "eddsa private key" suggests it might be more correct. Following the code it looks like actually only 32 bytes are read from buf and it is really a seed, not the eddsa private key, so maybe change the string as well? | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2025-05-13 14:02 | fefe | New Issue | |
2025-05-13 14:04 | fefe | Note Added: 0024895 | |
2025-05-13 14:40 | Christian Grothoff | Assigned To | => Florian Dold |
2025-05-13 14:40 | Christian Grothoff | Status | new => assigned |