]> git.codecow.com Git - libnemo.git/log
libnemo.git
20 hours agoExtract blake ckd to vault to leave hash function more pure. Clean up blake input...
Chris Duncan [Wed, 1 Jul 2026 06:45:41 +0000 (23:45 -0700)]
Extract blake ckd to vault to leave hash function more pure. Clean up blake input validation.

20 hours agoDocument blake param block instead of defining entire array of values.
Chris Duncan [Wed, 1 Jul 2026 06:09:11 +0000 (23:09 -0700)]
Document blake param block instead of defining entire array of values.

20 hours agoClear potentially sensitive values from blake buffers after digesting.
Chris Duncan [Wed, 1 Jul 2026 05:59:06 +0000 (22:59 -0700)]
Clear potentially sensitive values from blake buffers after digesting.

20 hours agoExtract static blake consts outside of class and implement type guard for byte arrays.
Chris Duncan [Wed, 1 Jul 2026 05:53:39 +0000 (22:53 -0700)]
Extract static blake consts outside of class and implement type guard for byte arrays.

21 hours agoExtract blake initialization to separate private method.
Chris Duncan [Wed, 1 Jul 2026 05:45:29 +0000 (22:45 -0700)]
Extract blake initialization to separate private method.

21 hours agoNarrow Blake2b input types.
Chris Duncan [Wed, 1 Jul 2026 05:34:12 +0000 (22:34 -0700)]
Narrow Blake2b input types.

21 hours 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.

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

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

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

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

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

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

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

29 hours 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.

31 hours 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.

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

2 days 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.

2 days 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.

2 days 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.

3 days 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.

3 days 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.

4 days 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.

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

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

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

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

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

5 days 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.

5 days 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.

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

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

5 days 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.

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

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

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

6 weeks 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.

6 weeks 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.

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

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

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

6 weeks 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.

6 weeks 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.

6 weeks 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.

6 weeks 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.

6 weeks 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.

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

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

6 weeks 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.

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

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

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

6 weeks 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.

6 weeks 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.

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

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

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

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

6 weeks 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.

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

6 weeks 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.

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

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

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

6 weeks 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.

6 weeks 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.

6 weeks 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.

6 weeks 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.

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

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

6 weeks 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.

6 weeks 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.

6 weeks 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.

6 weeks 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.

6 weeks 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.

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

7 weeks 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.

7 weeks 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.

7 weeks 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.

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

7 weeks 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.

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

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

7 weeks 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.

7 weeks 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.

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

7 weeks 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.

7 weeks 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.

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

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

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

7 weeks 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.

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

2 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.

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

2 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.

2 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.

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

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

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