]> git.codecow.com Git - libnemo.git/log
libnemo.git
7 weeks agoPromote Bytes type alias from BIP-44 to global scope.
Chris Duncan [Wed, 1 Jul 2026 05:30:47 +0000 (22:30 -0700)]
Promote Bytes type alias from BIP-44 to global scope.

7 weeks agoFix decimal padding args.
Chris Duncan [Tue, 30 Jun 2026 22:10:47 +0000 (15:10 -0700)]
Fix decimal padding args.

7 weeks agoDelete unused conversion functions.
Chris Duncan [Tue, 30 Jun 2026 22:05:35 +0000 (15:05 -0700)]
Delete unused conversion functions.

7 weeks agoSimplify hex-to-byte converter.
Chris Duncan [Tue, 30 Jun 2026 22:03:46 +0000 (15:03 -0700)]
Simplify hex-to-byte converter.

7 weeks agoUpdate binary-to-byte converter.
Chris Duncan [Tue, 30 Jun 2026 21:59:41 +0000 (14:59 -0700)]
Update binary-to-byte converter.

7 weeks agoDelete unused object converter.
Chris Duncan [Tue, 30 Jun 2026 21:00:19 +0000 (14:00 -0700)]
Delete unused object converter.

7 weeks agoFix error messages.
Chris Duncan [Tue, 30 Jun 2026 20:58:27 +0000 (13:58 -0700)]
Fix error messages.

7 weeks agoAlphabetize object props.
Chris Duncan [Tue, 30 Jun 2026 20:53:53 +0000 (13:53 -0700)]
Alphabetize object props.

7 weeks agoRefactor hex converter to merge array with byte converter, fix minimum padding, limit...
Chris Duncan [Tue, 30 Jun 2026 20:53:19 +0000 (13:53 -0700)]
Refactor hex converter to merge array with byte converter, fix minimum padding, limit max size, and deprecate unused bin conversion.

7 weeks agoRefactor conversion classes to flat frozen objects.
Chris Duncan [Tue, 30 Jun 2026 19:21:39 +0000 (12:21 -0700)]
Refactor conversion classes to flat frozen objects.

7 weeks agoEliminate unnecessary default export.
Chris Duncan [Tue, 30 Jun 2026 19:08:54 +0000 (12:08 -0700)]
Eliminate unnecessary default export.

7 weeks agoExtract conversion functions into dedicated directory.
Chris Duncan [Mon, 29 Jun 2026 21:59:31 +0000 (14:59 -0700)]
Extract conversion functions into dedicated directory.

7 weeks agoUse constants for masks instead of calculated values. Remove unnecessary range check...
Chris Duncan [Mon, 29 Jun 2026 21:52:22 +0000 (14:52 -0700)]
Use constants for masks instead of calculated values. Remove unnecessary range check. Document blake methods.

7 weeks agoDelete redundant Tools.hash function, just use exported Blake2b directly.
Chris Duncan [Mon, 29 Jun 2026 19:31:06 +0000 (12:31 -0700)]
Delete redundant Tools.hash function, just use exported Blake2b directly.

7 weeks agoExtract common block functions to separate files.
Chris Duncan [Sun, 28 Jun 2026 06:21:05 +0000 (23:21 -0700)]
Extract common block functions to separate files.

7 weeks agoMove block into its own directory for refactoring.
Chris Duncan [Sun, 28 Jun 2026 05:40:27 +0000 (22:40 -0700)]
Move block into its own directory for refactoring.

7 weeks agoFix autolock not returning early as expected if vault already locked.
Chris Duncan [Sat, 27 Jun 2026 08:16:32 +0000 (01:16 -0700)]
Fix autolock not returning early as expected if vault already locked.

7 weeks agoContextualize worker result processing failure.
Chris Duncan [Sat, 27 Jun 2026 08:03:36 +0000 (01:03 -0700)]
Contextualize worker result processing failure.

7 weeks agoOptimize vault worker build.
Chris Duncan [Sat, 27 Jun 2026 05:45:42 +0000 (22:45 -0700)]
Optimize vault worker build.

7 weeks agoFix Ledger status reporting.
Chris Duncan [Sat, 27 Jun 2026 05:38:08 +0000 (22:38 -0700)]
Fix Ledger status reporting.

7 weeks agoFix autolocking.
Chris Duncan [Sat, 27 Jun 2026 05:37:47 +0000 (22:37 -0700)]
Fix autolocking.

7 weeks agoUse integer underscores for legibility.
Chris Duncan [Sat, 27 Jun 2026 05:36:25 +0000 (22:36 -0700)]
Use integer underscores for legibility.

7 weeks agoRefactor vault tasks to use map of IDs instead of a serial queue. Improve worker...
Chris Duncan [Fri, 26 Jun 2026 21:58:15 +0000 (14:58 -0700)]
Refactor vault tasks to use map of IDs instead of a serial queue. Improve worker transaction ID with random string instead of performance timer. Simplify vault result processing. Resolve lock/unlock with value-wrapped object to be consistent with other vault results.

7 weeks agoAdd logging which will be removed by esbuild prod config.
Chris Duncan [Fri, 26 Jun 2026 21:55:40 +0000 (14:55 -0700)]
Add logging which will be removed by esbuild prod config.

7 weeks agoReorganize imports.
Chris Duncan [Fri, 26 Jun 2026 21:54:29 +0000 (14:54 -0700)]
Reorganize imports.

7 weeks agoUpdate dependency.
Chris Duncan [Fri, 26 Jun 2026 21:53:31 +0000 (14:53 -0700)]
Update dependency.

7 weeks agoAlias nano25519 to align browser build with node build.
Chris Duncan [Fri, 26 Jun 2026 17:53:43 +0000 (10:53 -0700)]
Alias nano25519 to align browser build with node build.

7 weeks agoUpdate dependencies.
Chris Duncan [Fri, 26 Jun 2026 15:27:14 +0000 (08:27 -0700)]
Update dependencies.

2 months agoUpdate dependency.
Chris Duncan [Fri, 22 May 2026 06:46:31 +0000 (23:46 -0700)]
Update dependency.

3 months agoExtract Ledger polling.
Chris Duncan [Mon, 18 May 2026 21:42:28 +0000 (14:42 -0700)]
Extract Ledger polling.

3 months agoImprove type checking on cache update input.
Chris Duncan [Mon, 18 May 2026 21:27:37 +0000 (14:27 -0700)]
Improve type checking on cache update input.

3 months agoSimplify device support check and status getter. Replace status setting function...
Chris Duncan [Mon, 18 May 2026 21:13:59 +0000 (14:13 -0700)]
Simplify device support check and status getter. Replace status setting function with internal-only setter.

3 months agoAdjust imports and exports.
Chris Duncan [Mon, 18 May 2026 21:09:14 +0000 (14:09 -0700)]
Adjust imports and exports.

3 months agoAlphabetize.
Chris Duncan [Mon, 18 May 2026 20:35:53 +0000 (13:35 -0700)]
Alphabetize.

3 months agoExtract verify function.
Chris Duncan [Mon, 18 May 2026 19:53:32 +0000 (12:53 -0700)]
Extract verify function.

3 months agoCreate custom event for Ledger status changes.
Chris Duncan [Mon, 18 May 2026 19:46:41 +0000 (12:46 -0700)]
Create custom event for Ledger status changes.

3 months agoUse queue at top-level Ledger class API exclusively.
Chris Duncan [Mon, 18 May 2026 17:22:34 +0000 (10:22 -0700)]
Use queue at top-level Ledger class API exclusively.

3 months agoTop-level sign is queued, so remove it from internals.
Chris Duncan [Mon, 18 May 2026 17:12:00 +0000 (10:12 -0700)]
Top-level sign is queued, so remove it from internals.

3 months agoEnqueue from call, not within called function.
Chris Duncan [Mon, 18 May 2026 17:09:20 +0000 (10:09 -0700)]
Enqueue from call, not within called function.

3 months agoEliminate slow modulo operator and unshift function.
Chris Duncan [Mon, 18 May 2026 17:08:17 +0000 (10:08 -0700)]
Eliminate slow modulo operator and unshift function.

3 months agoRefactor Ledger signing internals.
Chris Duncan [Mon, 18 May 2026 14:55:47 +0000 (07:55 -0700)]
Refactor Ledger signing internals.

3 months agoRemove redundant argument validation.
Chris Duncan [Mon, 18 May 2026 13:56:27 +0000 (06:56 -0700)]
Remove redundant argument validation.

3 months agoExtract entire signing function and use input-dependent functions internally.
Chris Duncan [Mon, 18 May 2026 13:55:13 +0000 (06:55 -0700)]
Extract entire signing function and use input-dependent functions internally.

3 months agoExtract cache update function.
Chris Duncan [Mon, 18 May 2026 13:50:23 +0000 (06:50 -0700)]
Extract cache update function.

3 months agoAdjust Ledger constants.
Chris Duncan [Mon, 18 May 2026 13:41:55 +0000 (06:41 -0700)]
Adjust Ledger constants.

3 months agoExtract disconnect function.
Chris Duncan [Mon, 18 May 2026 13:40:59 +0000 (06:40 -0700)]
Extract disconnect function.

3 months agoExtract open and close functions. Adjust doc comments.
Chris Duncan [Mon, 18 May 2026 13:30:20 +0000 (06:30 -0700)]
Extract open and close functions. Adjust doc comments.

3 months agoUse own API and remove redundant call.
Chris Duncan [Sat, 16 May 2026 07:44:30 +0000 (00:44 -0700)]
Use own API and remove redundant call.

3 months agoTypings.
Chris Duncan [Sat, 16 May 2026 07:41:22 +0000 (00:41 -0700)]
Typings.

3 months agoExtract specific signing algorithms.
Chris Duncan [Sat, 16 May 2026 07:35:57 +0000 (00:35 -0700)]
Extract specific signing algorithms.

3 months agoDocumentation.
Chris Duncan [Sat, 16 May 2026 07:29:42 +0000 (00:29 -0700)]
Documentation.

3 months agoExtract frontier block caching.
Chris Duncan [Sat, 16 May 2026 07:27:58 +0000 (00:27 -0700)]
Extract frontier block caching.

3 months agoFix unfinished changes to move connect and also move account.
Chris Duncan [Sat, 16 May 2026 07:18:42 +0000 (00:18 -0700)]
Fix unfinished changes to move connect and also move account.

3 months agoBack up WIP
Chris Duncan [Fri, 15 May 2026 23:02:11 +0000 (16:02 -0700)]
Back up WIP

3 months agoStart extracting Ledger connect method to its own file.
Chris Duncan [Fri, 15 May 2026 22:11:18 +0000 (15:11 -0700)]
Start extracting Ledger connect method to its own file.

3 months agoRename queueing function.
Chris Duncan [Fri, 15 May 2026 21:58:20 +0000 (14:58 -0700)]
Rename queueing function.

3 months agoGreatly simplify serial queue.
Chris Duncan [Fri, 15 May 2026 21:57:34 +0000 (14:57 -0700)]
Greatly simplify serial queue.

3 months agoExtract queue processing.
Chris Duncan [Fri, 15 May 2026 20:26:50 +0000 (13:26 -0700)]
Extract queue processing.

3 months agoMove Ledger command queue to its own file.
Chris Duncan [Fri, 15 May 2026 20:18:04 +0000 (13:18 -0700)]
Move Ledger command queue to its own file.

3 months agoStart building subdirectory for splitting up Ledger code.
Chris Duncan [Fri, 15 May 2026 19:46:57 +0000 (12:46 -0700)]
Start building subdirectory for splitting up Ledger code.

3 months agoAdd support for rederivation when child key is invalid.
Chris Duncan [Fri, 15 May 2026 08:17:39 +0000 (01:17 -0700)]
Add support for rederivation when child key is invalid.

3 months agoChange child key to async since HMAC is anyway.
Chris Duncan [Fri, 15 May 2026 08:17:00 +0000 (01:17 -0700)]
Change child key to async since HMAC is anyway.

3 months agoFix variable name conflict.
Chris Duncan [Fri, 15 May 2026 08:15:33 +0000 (01:15 -0700)]
Fix variable name conflict.

3 months agoDiscard unnecessary else keyword.
Chris Duncan [Fri, 15 May 2026 08:07:11 +0000 (01:07 -0700)]
Discard unnecessary else keyword.

3 months agoExtract child key algorithm steps 2-6 to its own function.
Chris Duncan [Fri, 15 May 2026 08:05:42 +0000 (01:05 -0700)]
Extract child key algorithm steps 2-6 to its own function.

3 months agoReuse text encoder to avoid initializing on every call. Consolidate redundant assignm...
Chris Duncan [Thu, 14 May 2026 20:32:57 +0000 (13:32 -0700)]
Reuse text encoder to avoid initializing on every call. Consolidate redundant assignments in CKDpriv. Alias byte arrayts for legibility. Pass buffers to HMAC.

3 months agoPerform validation in exported function and use it to call private ckd.
Chris Duncan [Thu, 14 May 2026 19:19:26 +0000 (12:19 -0700)]
Perform validation in exported function and use it to call private ckd.

3 months agoChange bip44 class of all static methods to flat module.
Chris Duncan [Thu, 14 May 2026 19:02:40 +0000 (12:02 -0700)]
Change bip44 class of all static methods to flat module.

3 months agoImport bip39 wordlist to shrink filesize of implementation and improve fta accuracy.
Chris Duncan [Thu, 14 May 2026 18:44:47 +0000 (11:44 -0700)]
Import bip39 wordlist to shrink filesize of implementation and improve fta accuracy.

3 months agoChange slice range for clarity.
Chris Duncan [Thu, 14 May 2026 18:26:37 +0000 (11:26 -0700)]
Change slice range for clarity.

3 months agoVerify Ledger secret by signing simpler nonce instead of blocks.
Chris Duncan [Wed, 13 May 2026 05:15:05 +0000 (22:15 -0700)]
Verify Ledger secret by signing simpler nonce instead of blocks.

3 months agoExpand on Ledger nonce signing documentation.
Chris Duncan [Tue, 12 May 2026 21:08:39 +0000 (14:08 -0700)]
Expand on Ledger nonce signing documentation.

3 months agoFix documentation of Ledger nonce format.
Chris Duncan [Tue, 12 May 2026 20:35:55 +0000 (13:35 -0700)]
Fix documentation of Ledger nonce format.

3 months agoFix Ledger tests.
Chris Duncan [Tue, 12 May 2026 20:24:58 +0000 (13:24 -0700)]
Fix Ledger tests.

3 months agoCheck for transient user activation earlier to include Ledger wallets.
Chris Duncan [Tue, 12 May 2026 20:24:41 +0000 (13:24 -0700)]
Check for transient user activation earlier to include Ledger wallets.

3 months agoFix Ledger secret verification.
Chris Duncan [Tue, 12 May 2026 18:54:40 +0000 (11:54 -0700)]
Fix Ledger secret verification.

3 months agoRefactor worker ID handling.
Chris Duncan [Tue, 12 May 2026 18:38:38 +0000 (11:38 -0700)]
Refactor worker ID handling.

3 months agoReturn real byte array if input is literal zero.
Chris Duncan [Tue, 12 May 2026 18:37:37 +0000 (11:37 -0700)]
Return real byte array if input is literal zero.

3 months agoUpdate Ledger dependencies and install standard Ledger error codes. Fix lock status...
Chris Duncan [Tue, 12 May 2026 18:36:30 +0000 (11:36 -0700)]
Update Ledger dependencies and install standard Ledger error codes. Fix lock status using new LOCKED messaging from Ledger.

3 months agoEliminate redundant idle flag.
Chris Duncan [Tue, 12 May 2026 13:55:19 +0000 (06:55 -0700)]
Eliminate redundant idle flag.

3 months agoRefactor worker termination to reject all pending promises.
Chris Duncan [Tue, 12 May 2026 13:44:10 +0000 (06:44 -0700)]
Refactor worker termination to reject all pending promises.

3 months agoUse constants for lock status and adjust error message.
Chris Duncan [Tue, 12 May 2026 13:18:02 +0000 (06:18 -0700)]
Use constants for lock status and adjust error message.

3 months agoReduce scope of try-catch.
Chris Duncan [Tue, 12 May 2026 13:17:31 +0000 (06:17 -0700)]
Reduce scope of try-catch.

3 months agoThrow outside of promise.
Chris Duncan [Tue, 12 May 2026 13:06:24 +0000 (06:06 -0700)]
Throw outside of promise.

3 months agoConsolidate redundant declarations.
Chris Duncan [Mon, 11 May 2026 21:11:08 +0000 (14:11 -0700)]
Consolidate redundant declarations.

3 months agoExtract vault parsers into separate file.
Chris Duncan [Mon, 11 May 2026 20:54:59 +0000 (13:54 -0700)]
Extract vault parsers into separate file.

3 months agoMerge branch 'next/sign-string'
Chris Duncan [Fri, 1 May 2026 06:44:17 +0000 (23:44 -0700)]
Merge branch 'next/sign-string'

3 months agoFix Tools data signing test vector.
Chris Duncan [Fri, 1 May 2026 06:43:21 +0000 (23:43 -0700)]
Fix Tools data signing test vector.

3 months agoUpdate relevant tests.
Chris Duncan [Fri, 1 May 2026 06:34:23 +0000 (23:34 -0700)]
Update relevant tests.

3 months agoUpdate signing of arbitrary data to accept it as a single string instead of a rest...
Chris Duncan [Fri, 1 May 2026 06:26:49 +0000 (23:26 -0700)]
Update signing of arbitrary data to accept it as a single string instead of a rest parameter.

3 months agoExpand on documentation of Ledger nonce signing.
Chris Duncan [Fri, 1 May 2026 06:02:14 +0000 (23:02 -0700)]
Expand on documentation of Ledger nonce signing.

3 months agoCombine redundant overloads.
Chris Duncan [Fri, 1 May 2026 06:02:01 +0000 (23:02 -0700)]
Combine redundant overloads.

3 months agoMerge branch 'next/user-activation'
Chris Duncan [Fri, 1 May 2026 05:19:19 +0000 (22:19 -0700)]
Merge branch 'next/user-activation'

3 months agoScrap performance tests as outdated.
Chris Duncan [Fri, 1 May 2026 05:12:33 +0000 (22:12 -0700)]
Scrap performance tests as outdated.

3 months agoFix sign calls when refreshing accounts. Remove unused account index variables.
Chris Duncan [Fri, 1 May 2026 05:02:50 +0000 (22:02 -0700)]
Fix sign calls when refreshing accounts. Remove unused account index variables.

3 months agoRemove redundant awaits in wallet API. Return signed block when signing from wallet.
Chris Duncan [Fri, 1 May 2026 04:07:28 +0000 (21:07 -0700)]
Remove redundant awaits in wallet API. Return signed block when signing from wallet.

3 months agoDestructure account info to simplify verify method, and always destroy wallet even...
Chris Duncan [Fri, 1 May 2026 04:03:24 +0000 (21:03 -0700)]
Destructure account info to simplify verify method, and always destroy wallet even on exceptions.

3 months agoFix casing of test vectors to align with nano25519 output.
Chris Duncan [Fri, 1 May 2026 03:59:58 +0000 (20:59 -0700)]
Fix casing of test vectors to align with nano25519 output.

3 months agoReplace redundant sign overload that just set the property with support for 64-byte...
Chris Duncan [Fri, 1 May 2026 03:59:32 +0000 (20:59 -0700)]
Replace redundant sign overload that just set the property with support for 64-byte secret key signing. Simplify return construction of sign method. Add block signature verification using address.

3 months agoCheck for existing signature when signing blocks.
Chris Duncan [Thu, 30 Apr 2026 20:06:05 +0000 (13:06 -0700)]
Check for existing signature when signing blocks.