]>
git.codecow.com Git - nano25519.git/log
Chris Duncan [Tue, 18 Aug 2026 06:43:44 +0000 (23:43 -0700)]
Refactor primitives to align with RFC 8032.
Chris Duncan [Mon, 17 Aug 2026 20:39:48 +0000 (13:39 -0700)]
Start updating Blake usage
Chris Duncan [Mon, 17 Aug 2026 20:35:32 +0000 (13:35 -0700)]
Hash from arrays which are passed as pointers not objects.
Chris Duncan [Mon, 17 Aug 2026 15:55:07 +0000 (08:55 -0700)]
Specify buffer sizes for clarity in implementation.
Chris Duncan [Mon, 17 Aug 2026 15:46:03 +0000 (08:46 -0700)]
Change WASM buffer view to Uint8Array since we don't need endianness features of DataView. Reduce input buffer size to maximum needed and minimum required for verify() signature and public key.
Chris Duncan [Sun, 16 Aug 2026 10:32:44 +0000 (03:32 -0700)]
Test offset buffers with exact matches against untouched ranges.
Chris Duncan [Sun, 16 Aug 2026 10:08:30 +0000 (03:08 -0700)]
Fix offset buffer tests to correctly target offsets including 0.
Chris Duncan [Sun, 16 Aug 2026 09:44:07 +0000 (02:44 -0700)]
Adjust buffer offset tests and remove unused function.
Chris Duncan [Sun, 16 Aug 2026 09:22:04 +0000 (02:22 -0700)]
Return straightforward 0 or -1 from verify instead of handling buffer output.
Chris Duncan [Sun, 16 Aug 2026 08:56:20 +0000 (01:56 -0700)]
Fix transfer of full buffer instead of just array view.
Chris Duncan [Sun, 16 Aug 2026 08:41:22 +0000 (01:41 -0700)]
Document expected output.
Chris Duncan [Sun, 16 Aug 2026 07:09:49 +0000 (00:09 -0700)]
Expand to signed int to return -1 as libsodium instead of 255.
Chris Duncan [Sun, 16 Aug 2026 07:09:11 +0000 (00:09 -0700)]
Fix truncation in bit shift.
Chris Duncan [Sun, 16 Aug 2026 06:53:08 +0000 (23:53 -0700)]
Transfer data to worker if passed as buffer instead of just byte array.
Chris Duncan [Sun, 16 Aug 2026 05:54:12 +0000 (22:54 -0700)]
Fix similar issue with asc bit shift operand masking when checking canonicity.
Chris Duncan [Sun, 16 Aug 2026 05:48:43 +0000 (22:48 -0700)]
Fix constant time zero check that was incorrect due to AssemblyScript shift operand masking.
Chris Duncan [Sun, 16 Aug 2026 05:47:59 +0000 (22:47 -0700)]
Log more helpful info on wasm error.
Chris Duncan [Sat, 15 Aug 2026 22:09:05 +0000 (15:09 -0700)]
Fix test label.
Chris Duncan [Sat, 15 Aug 2026 21:41:04 +0000 (14:41 -0700)]
Fix wording on problem vector.
Chris Duncan [Sat, 15 Aug 2026 20:56:36 +0000 (13:56 -0700)]
Reduce form on division by shift.
Chris Duncan [Sat, 15 Aug 2026 20:53:03 +0000 (13:53 -0700)]
Deprecate global pointless in WASM.
Chris Duncan [Sat, 15 Aug 2026 20:49:47 +0000 (13:49 -0700)]
Add integrity hashes to imported packages and revert nanocurrency-web to its own script since it works by polluting the global namespace.
Chris Duncan [Sat, 15 Aug 2026 20:16:11 +0000 (13:16 -0700)]
Load packages with import map instead of dynamic import.
Chris Duncan [Sat, 15 Aug 2026 19:47:48 +0000 (12:47 -0700)]
Clear worker starting promise on failure path.
Chris Duncan [Sat, 15 Aug 2026 19:44:48 +0000 (12:44 -0700)]
Reject all pending tasks when worker resets.
Chris Duncan [Sat, 15 Aug 2026 19:29:13 +0000 (12:29 -0700)]
Discard nonce prefix `z` as sensitive material unnecessary for public key derivation. Document reason for clamping scalar.
Chris Duncan [Sat, 15 Aug 2026 18:32:01 +0000 (11:32 -0700)]
Add missing type import and document a bit of context.
Chris Duncan [Sat, 15 Aug 2026 10:08:10 +0000 (03:08 -0700)]
Adjust errors and logging.
Chris Duncan [Sat, 15 Aug 2026 10:02:01 +0000 (03:02 -0700)]
Adjust function name.
Chris Duncan [Sat, 15 Aug 2026 10:01:14 +0000 (03:01 -0700)]
Simplify errors from worker listener.
Chris Duncan [Sat, 15 Aug 2026 09:52:02 +0000 (02:52 -0700)]
Fix WASM error message that varies between browsers.
Chris Duncan [Sat, 15 Aug 2026 09:50:42 +0000 (02:50 -0700)]
Type adjustment.
Chris Duncan [Sat, 15 Aug 2026 09:47:47 +0000 (02:47 -0700)]
Deprecate complicated worker state management and just determine if it's listening. Restore test webpage checks.
Chris Duncan [Sat, 15 Aug 2026 07:57:59 +0000 (00:57 -0700)]
Remove extraneous tests.
Chris Duncan [Sat, 15 Aug 2026 07:57:46 +0000 (00:57 -0700)]
Fix output buffer copy.
Chris Duncan [Sat, 15 Aug 2026 07:38:09 +0000 (00:38 -0700)]
Fix output buffer population.
Chris Duncan [Sat, 15 Aug 2026 07:08:13 +0000 (00:08 -0700)]
Eliminate redundant buffer clearing.
Chris Duncan [Sat, 15 Aug 2026 07:06:26 +0000 (00:06 -0700)]
Update overloads and README examples with output buffer functionality.
Chris Duncan [Sat, 15 Aug 2026 00:39:06 +0000 (17:39 -0700)]
Start refactoring worker to simplify setup and teardown.
Chris Duncan [Fri, 14 Aug 2026 23:41:14 +0000 (16:41 -0700)]
Fix result listener.
Chris Duncan [Fri, 14 Aug 2026 23:38:03 +0000 (16:38 -0700)]
Move constant into constants file.
Chris Duncan [Fri, 14 Aug 2026 23:29:17 +0000 (16:29 -0700)]
Avoid writing seed to output buffer of derive since the private key bytes are discarded by JS caller anyway.
Chris Duncan [Fri, 14 Aug 2026 23:21:06 +0000 (16:21 -0700)]
Add tests for output buffers larger than necessary but still offset by 0.
Chris Duncan [Fri, 14 Aug 2026 21:26:08 +0000 (14:26 -0700)]
Add confirmed block from problematic account to check verification aligns with Nano node implementation, which it currently does not.
Chris Duncan [Fri, 14 Aug 2026 05:26:46 +0000 (22:26 -0700)]
Fix buffer clearing way beyond its range.
Chris Duncan [Fri, 14 Aug 2026 05:01:58 +0000 (22:01 -0700)]
Pin package version in example code.
Chris Duncan [Fri, 14 Aug 2026 05:01:14 +0000 (22:01 -0700)]
Clean up existing worker blob if it already exists before creating anew.
Chris Duncan [Fri, 14 Aug 2026 04:58:33 +0000 (21:58 -0700)]
Fix buffer clearing overlapping bytes.
Chris Duncan [Thu, 13 Aug 2026 07:41:28 +0000 (00:41 -0700)]
Print error strings from WASM data.
Chris Duncan [Thu, 13 Aug 2026 07:04:27 +0000 (00:04 -0700)]
Do not fill sk which does not belong to this function, it's filled by caller.
Chris Duncan [Thu, 13 Aug 2026 06:06:43 +0000 (23:06 -0700)]
Extract worker to separate file.
Chris Duncan [Thu, 13 Aug 2026 06:02:22 +0000 (23:02 -0700)]
Refactor async worker to avoid overwriting message handler, simplify dispatch, and narrow return cases.
Chris Duncan [Thu, 13 Aug 2026 04:45:34 +0000 (21:45 -0700)]
Add success and failure tests for output buffer arguments.
Chris Duncan [Thu, 13 Aug 2026 04:44:49 +0000 (21:44 -0700)]
Throw on invalid output buffer immediately. Wrap signing to always zero key and buffer.
Chris Duncan [Thu, 13 Aug 2026 04:27:52 +0000 (21:27 -0700)]
Use type guard to enable direct use of typechecked output buffer.
Chris Duncan [Wed, 12 Aug 2026 10:00:06 +0000 (03:00 -0700)]
Add output buffer support to sign function. Adjust variable names.
Chris Duncan [Wed, 12 Aug 2026 09:44:40 +0000 (02:44 -0700)]
Update and pin dependencies.
Chris Duncan [Wed, 12 Aug 2026 09:38:47 +0000 (02:38 -0700)]
Merge branch 'main' into next/out-buf
Chris Duncan [Wed, 12 Aug 2026 09:31:47 +0000 (02:31 -0700)]
v1.0.8
Chris Duncan [Wed, 12 Aug 2026 09:28:58 +0000 (02:28 -0700)]
Fix xfail tests.
Chris Duncan [Wed, 12 Aug 2026 09:21:29 +0000 (02:21 -0700)]
Remove extraneous error logging,
Chris Duncan [Wed, 12 Aug 2026 08:51:12 +0000 (01:51 -0700)]
Start writing test for signing to output buffer.
Chris Duncan [Wed, 12 Aug 2026 08:42:58 +0000 (01:42 -0700)]
Add support for preallocated output buffer on sync derive calls.
Chris Duncan [Mon, 6 Jul 2026 07:34:15 +0000 (00:34 -0700)]
v1.0.7
Chris Duncan [Mon, 6 Jul 2026 07:31:42 +0000 (00:31 -0700)]
Add negative tests for validation of bad byte inputs.
Chris Duncan [Mon, 6 Jul 2026 07:22:29 +0000 (00:22 -0700)]
Add negative tests for validation of bad string inputs.
Chris Duncan [Mon, 6 Jul 2026 07:20:21 +0000 (00:20 -0700)]
Improve regex matching.
Chris Duncan [Fri, 26 Jun 2026 21:52:14 +0000 (14:52 -0700)]
v1.0.6
Chris Duncan [Fri, 26 Jun 2026 21:50:27 +0000 (14:50 -0700)]
Fix transaction ID validation.
Chris Duncan [Fri, 26 Jun 2026 21:50:13 +0000 (14:50 -0700)]
Move async message data checks prior to execution.
Chris Duncan [Fri, 26 Jun 2026 20:57:21 +0000 (13:57 -0700)]
v1.0.5
Chris Duncan [Fri, 26 Jun 2026 20:55:36 +0000 (13:55 -0700)]
Mark specific package as external to avoid import attempt in browser.
Chris Duncan [Fri, 26 Jun 2026 20:54:53 +0000 (13:54 -0700)]
Clear WASM buffers prior to returning from each call.
Chris Duncan [Fri, 26 Jun 2026 20:25:18 +0000 (13:25 -0700)]
Load worker messaging for async module independently of sync module.
Chris Duncan [Fri, 19 Jun 2026 06:53:48 +0000 (23:53 -0700)]
v1.0.4
Chris Duncan [Fri, 19 Jun 2026 06:41:01 +0000 (23:41 -0700)]
Update other libraries for speed comparison page.
Chris Duncan [Fri, 19 Jun 2026 06:34:31 +0000 (23:34 -0700)]
Revert type emission and copy with esbuild. Fix exports to make types available for test module.
Chris Duncan [Fri, 19 Jun 2026 06:25:30 +0000 (23:25 -0700)]
Consolidate labeled blocks used by esbuild.
Chris Duncan [Fri, 19 Jun 2026 06:24:57 +0000 (23:24 -0700)]
Queue async retry faster while waiting for Node host.
Chris Duncan [Fri, 19 Jun 2026 06:09:29 +0000 (23:09 -0700)]
Fix worker URL and ID assignments.
Chris Duncan [Thu, 18 Jun 2026 18:56:41 +0000 (11:56 -0700)]
Update dependencies and migrate to TypeScript 6. Fix Node built-in package references when building. Emit types directly to distribution directory.
Chris Duncan [Thu, 18 Jun 2026 18:55:30 +0000 (11:55 -0700)]
Get specific about Node host thread. Consolidate worker URL check in async implementation.
Chris Duncan [Thu, 18 Jun 2026 14:12:30 +0000 (07:12 -0700)]
Bundle in parallel, no need to await build steps.
Chris Duncan [Thu, 18 Jun 2026 14:11:08 +0000 (07:11 -0700)]
Remove unused package from browser remapping.
Chris Duncan [Tue, 16 Jun 2026 22:53:11 +0000 (15:53 -0700)]
Use URL and random UUID to uniquely identify each async call and prevent crosstalk with other workers.
Chris Duncan [Thu, 14 May 2026 18:11:55 +0000 (11:11 -0700)]
v1.0.3
Chris Duncan [Thu, 14 May 2026 18:08:30 +0000 (11:08 -0700)]
Add test to check invalid message lengths throw as expected.
Chris Duncan [Thu, 14 May 2026 18:06:29 +0000 (11:06 -0700)]
Enforce stronger type checks on async results. Rethrow errors encountered in async worker.
Chris Duncan [Thu, 14 May 2026 18:03:34 +0000 (11:03 -0700)]
Overload async execution to narrow result typechecking more specifically based on function.
Chris Duncan [Thu, 14 May 2026 13:54:01 +0000 (06:54 -0700)]
Throw if hex input is an odd number of characters.
Chris Duncan [Thu, 14 May 2026 13:42:47 +0000 (06:42 -0700)]
Remove invalid error messaging.
Chris Duncan [Wed, 15 Apr 2026 06:58:34 +0000 (23:58 -0700)]
v1.0.2
Chris Duncan [Wed, 15 Apr 2026 06:54:13 +0000 (23:54 -0700)]
Update changelog from prior releases and fix project homepage.
Chris Duncan [Wed, 15 Apr 2026 06:50:36 +0000 (23:50 -0700)]
Fix regular expression anchoring.
Chris Duncan [Tue, 14 Apr 2026 07:23:58 +0000 (00:23 -0700)]
Whitespace.
Chris Duncan [Tue, 14 Apr 2026 07:22:49 +0000 (00:22 -0700)]
Basic styling.
Chris Duncan [Tue, 14 Apr 2026 07:16:20 +0000 (00:16 -0700)]
Explain how speed is calculated.
Chris Duncan [Tue, 14 Apr 2026 06:38:49 +0000 (23:38 -0700)]
Extract test sequence into its own function and remove useless debug option.
Chris Duncan [Mon, 23 Mar 2026 06:07:50 +0000 (23:07 -0700)]
Enable testing only after successfully loading library and test vectors.
Chris Duncan [Mon, 23 Mar 2026 05:46:51 +0000 (22:46 -0700)]
Simplify esbuild entry points for node build. Include source maps for typings.