]> git.codecow.com Git - libnemo.git/log
libnemo.git
3 months agoFix documentation.
Chris Duncan [Mon, 15 Dec 2025 16:35:23 +0000 (08:35 -0800)]
Fix documentation.

3 months agoConsolidate bigint cast to bytes since we already validate it before we use it.
Chris Duncan [Fri, 5 Dec 2025 23:01:49 +0000 (15:01 -0800)]
Consolidate bigint cast to bytes since we already validate it before we use it.

3 months agoRefactor unused functions and combine where possible.
Chris Duncan [Fri, 5 Dec 2025 22:43:19 +0000 (14:43 -0800)]
Refactor unused functions and combine where possible.

3 months agoDeprecate unused constant.
Chris Duncan [Fri, 5 Dec 2025 22:17:48 +0000 (14:17 -0800)]
Deprecate unused constant.

3 months agoBIP-32 specifies compressed public key serialization, so remove references to uncompr...
Chris Duncan [Fri, 5 Dec 2025 22:13:42 +0000 (14:13 -0800)]
BIP-32 specifies compressed public key serialization, so remove references to uncompressed possibilities.

3 months agoPromote final point functions to static class members.
Chris Duncan [Fri, 5 Dec 2025 22:07:51 +0000 (14:07 -0800)]
Promote final point functions to static class members.

3 months agoTest Exodus public key for zero entropy.
Chris Duncan [Fri, 5 Dec 2025 21:52:50 +0000 (13:52 -0800)]
Test Exodus public key for zero entropy.

3 months agoExtract more point functions to static members.
Chris Duncan [Fri, 5 Dec 2025 21:29:13 +0000 (13:29 -0800)]
Extract more point functions to static members.

3 months agoPromote point addition to class static member. Start consolidating mod functions.
Chris Duncan [Fri, 5 Dec 2025 21:19:03 +0000 (13:19 -0800)]
Promote point addition to class static member. Start consolidating mod functions.

3 months agoExtract single-use variable.
Chris Duncan [Fri, 5 Dec 2025 18:21:06 +0000 (10:21 -0800)]
Extract single-use variable.

3 months agoUnroll addition steps for legibility.
Chris Duncan [Fri, 5 Dec 2025 18:19:37 +0000 (10:19 -0800)]
Unroll addition steps for legibility.

3 months agoRemove debug logging.
Chris Duncan [Fri, 5 Dec 2025 17:09:10 +0000 (09:09 -0800)]
Remove debug logging.

3 months agoPublic key derivation always multiplies secret key scalar by base point G, so elimina...
Chris Duncan [Fri, 5 Dec 2025 17:08:22 +0000 (09:08 -0800)]
Public key derivation always multiplies secret key scalar by base point G, so eliminate extra multiplication call and code that is never called in this particular implementation.

3 months agoRemove paramenter since unsafe multiplication was deprecated.
Chris Duncan [Fri, 5 Dec 2025 16:20:30 +0000 (08:20 -0800)]
Remove paramenter since unsafe multiplication was deprecated.

3 months agoAvoid string conversion when casting bigint to 32-byte buffer.
Chris Duncan [Fri, 5 Dec 2025 14:49:03 +0000 (06:49 -0800)]
Avoid string conversion when casting bigint to 32-byte buffer.

3 months agoAbbreviate public key and secret key.
Chris Duncan [Thu, 4 Dec 2025 22:44:27 +0000 (14:44 -0800)]
Abbreviate public key and secret key.

3 months agoRename public key length constants.
Chris Duncan [Thu, 4 Dec 2025 22:43:11 +0000 (14:43 -0800)]
Rename public key length constants.

3 months agoDeprecate validation method since it's already checked when deriving the public key...
Chris Duncan [Thu, 4 Dec 2025 19:42:37 +0000 (11:42 -0800)]
Deprecate validation method since it's already checked when deriving the public key and we won't redundantly recheck in wallet.

3 months agoDeprecate range helpers and use underlying function directly.
Chris Duncan [Thu, 4 Dec 2025 18:45:25 +0000 (10:45 -0800)]
Deprecate range helpers and use underlying function directly.

3 months agoRemove unneeded variable-time multiplication.
Chris Duncan [Thu, 4 Dec 2025 18:03:41 +0000 (10:03 -0800)]
Remove unneeded variable-time multiplication.

3 months agoRemove unused point constructors.
Chris Duncan [Thu, 4 Dec 2025 17:30:37 +0000 (09:30 -0800)]
Remove unused point constructors.

3 months agoFormatting.
Chris Duncan [Thu, 4 Dec 2025 17:30:26 +0000 (09:30 -0800)]
Formatting.

3 months agoRemvoe unused Point methods.
Chris Duncan [Thu, 4 Dec 2025 17:26:04 +0000 (09:26 -0800)]
Remvoe unused Point methods.

3 months agoRemove undesired recovery and signature methods.
Chris Duncan [Thu, 4 Dec 2025 14:29:55 +0000 (06:29 -0800)]
Remove undesired recovery and signature methods.

3 months agoSimplify hex cast to bytes.
Chris Duncan [Thu, 4 Dec 2025 13:33:26 +0000 (05:33 -0800)]
Simplify hex cast to bytes.

3 months agoAdd Exodus test vector for zero-entropy mnemonic and seed.
Chris Duncan [Thu, 4 Dec 2025 08:18:16 +0000 (00:18 -0800)]
Add Exodus test vector for zero-entropy mnemonic and seed.

3 months agoDeprecate single-use method and use directly.
Chris Duncan [Thu, 4 Dec 2025 05:34:04 +0000 (21:34 -0800)]
Deprecate single-use method and use directly.

3 months agoRemove string handling from byte casting to bigint. Remove some redundant or unused...
Chris Duncan [Wed, 3 Dec 2025 23:46:18 +0000 (15:46 -0800)]
Remove string handling from byte casting to bigint. Remove some redundant or unused functions.

3 months agoRemove redundant Weierstrass curve object.
Chris Duncan [Wed, 3 Dec 2025 23:32:00 +0000 (15:32 -0800)]
Remove redundant Weierstrass curve object.

3 months agoStrip all functionality related to signing since we only need public key derivation.
Chris Duncan [Wed, 3 Dec 2025 23:04:33 +0000 (15:04 -0800)]
Strip all functionality related to signing since we only need public key derivation.

3 months agoRemove unused utilities that we do not need for this specific implementation.
Chris Duncan [Wed, 3 Dec 2025 22:46:10 +0000 (14:46 -0800)]
Remove unused utilities that we do not need for this specific implementation.

3 months agoAdd modular division helper to be explicit about the arguments.
Chris Duncan [Wed, 3 Dec 2025 22:45:02 +0000 (14:45 -0800)]
Add modular division helper to be explicit about the arguments.

3 months agoConvert arrow function properties to regular static methods. Fix scope of M in point...
Chris Duncan [Wed, 3 Dec 2025 22:41:01 +0000 (14:41 -0800)]
Convert arrow function properties to regular static methods. Fix scope of M in point addition. Use Typescript arithmetic to typecheck buffer lengths.

3 months agoSlight refactor for point addition legibility.
Chris Duncan [Wed, 3 Dec 2025 14:27:49 +0000 (06:27 -0800)]
Slight refactor for point addition legibility.

3 months agoRemove unused affine point coordinate helpers.
Chris Duncan [Wed, 3 Dec 2025 14:16:25 +0000 (06:16 -0800)]
Remove unused affine point coordinate helpers.

3 months agoAdjust more names and function signatures. Deprecate CSPRNG wrapper and use API directly.
Chris Duncan [Tue, 2 Dec 2025 23:14:43 +0000 (15:14 -0800)]
Adjust more names and function signatures. Deprecate CSPRNG wrapper and use API directly.

3 months agoRemove unused point function. Consolidate error helpers. Consolidate byte assertion...
Chris Duncan [Tue, 2 Dec 2025 22:40:02 +0000 (14:40 -0800)]
Remove unused point function. Consolidate error helpers. Consolidate byte assertion. Deprecate redundant Uint8Array construction helper. Convert arrow functions to regular functions. Clarify some function names. Whitespace for legibility.

4 months agoRemove commented code.
Chris Duncan [Tue, 2 Dec 2025 16:58:39 +0000 (08:58 -0800)]
Remove commented code.

4 months agoUpdate dependencies.
Chris Duncan [Mon, 1 Dec 2025 07:45:34 +0000 (23:45 -0800)]
Update dependencies.

4 months agoMerge branch 'next/exodus'
Chris Duncan [Mon, 1 Dec 2025 07:33:13 +0000 (23:33 -0800)]
Merge branch 'next/exodus'

4 months agoFix string type check.
Chris Duncan [Mon, 1 Dec 2025 07:20:54 +0000 (23:20 -0800)]
Fix string type check.

4 months agoRemove unused function. Formatting.
Chris Duncan [Mon, 1 Dec 2025 07:13:52 +0000 (23:13 -0800)]
Remove unused function. Formatting.

4 months agoRemove redundant string type check. Remove redundant hex string padding. Remove check...
Chris Duncan [Mon, 1 Dec 2025 07:01:29 +0000 (23:01 -0800)]
Remove redundant string type check. Remove redundant hex string padding. Remove checks for subtle crypto since this entire library assumes it is available.

4 months agoRemove redundant BigInt functions.
Chris Duncan [Mon, 1 Dec 2025 06:23:11 +0000 (22:23 -0800)]
Remove redundant BigInt functions.

4 months agoUse secp256k1 N from class so it is only defined once.
Chris Duncan [Mon, 1 Dec 2025 06:22:16 +0000 (22:22 -0800)]
Use secp256k1 N from class so it is only defined once.

4 months agoRemove point check since its no longer a class and rely instead on typings.
Chris Duncan [Mon, 1 Dec 2025 06:17:24 +0000 (22:17 -0800)]
Remove point check since its no longer a class and rely instead on typings.

4 months agoConvert Point from class to factory function to resolve final class self-references.
Chris Duncan [Mon, 1 Dec 2025 06:14:16 +0000 (22:14 -0800)]
Convert Point from class to factory function to resolve final class self-references.

4 months agoRevert wallet import test exclusion.
Chris Duncan [Sun, 30 Nov 2025 11:08:03 +0000 (03:08 -0800)]
Revert wallet import test exclusion.

4 months agoConvert inner class to factory function.
Chris Duncan [Sun, 30 Nov 2025 11:07:41 +0000 (03:07 -0800)]
Convert inner class to factory function.

4 months agoFix test vector references.
Chris Duncan [Sun, 30 Nov 2025 09:46:07 +0000 (01:46 -0800)]
Fix test vector references.

4 months agoExtract or delete static members from inner classes to move toward eliminating class...
Chris Duncan [Sun, 30 Nov 2025 09:43:20 +0000 (01:43 -0800)]
Extract or delete static members from inner classes to move toward eliminating class name self-references.

4 months agoRevert isolated testing.
Chris Duncan [Sun, 30 Nov 2025 08:47:47 +0000 (00:47 -0800)]
Revert isolated testing.

4 months agoImport and use new forked secp256k1 class.
Chris Duncan [Sun, 30 Nov 2025 08:45:48 +0000 (00:45 -0800)]
Import and use new forked secp256k1 class.

4 months agoRemove debugging.
Chris Duncan [Sun, 30 Nov 2025 08:45:22 +0000 (00:45 -0800)]
Remove debugging.

4 months agoFix bit shifting and remove redundant promise return.
Chris Duncan [Sun, 30 Nov 2025 08:44:00 +0000 (00:44 -0800)]
Fix bit shifting and remove redundant promise return.

4 months agoFix inner class typings.
Chris Duncan [Sun, 30 Nov 2025 08:13:45 +0000 (00:13 -0800)]
Fix inner class typings.

4 months agoProgress on classification.
Chris Duncan [Sun, 30 Nov 2025 07:53:58 +0000 (23:53 -0800)]
Progress on classification.

4 months agoProgress on classifying secp256k1.
Chris Duncan [Sun, 30 Nov 2025 07:37:50 +0000 (23:37 -0800)]
Progress on classifying secp256k1.

4 months agoTypo.
Chris Duncan [Mon, 24 Nov 2025 08:53:20 +0000 (00:53 -0800)]
Typo.

4 months agoStart forking noble secp256k1 for worker embedding.
Chris Duncan [Mon, 24 Nov 2025 08:52:57 +0000 (00:52 -0800)]
Start forking noble secp256k1 for worker embedding.

4 months agoStart adding Exodus-length test vectors.
Chris Duncan [Sun, 23 Nov 2025 10:46:02 +0000 (02:46 -0800)]
Start adding Exodus-length test vectors.

4 months agoFix signing key derivation.
Chris Duncan [Sun, 23 Nov 2025 10:40:26 +0000 (02:40 -0800)]
Fix signing key derivation.

4 months agoFix key derivation in vault to support curve parameter.
Chris Duncan [Sun, 23 Nov 2025 10:39:45 +0000 (02:39 -0800)]
Fix key derivation in vault to support curve parameter.

4 months agoStart adding initial pieces for Exodus support.
Chris Duncan [Sun, 23 Nov 2025 10:37:26 +0000 (02:37 -0800)]
Start adding initial pieces for Exodus support.

4 months agoAdd support for SLIP-0010 'Bitcoin seed' using secp256k1.
Chris Duncan [Sun, 23 Nov 2025 10:36:49 +0000 (02:36 -0800)]
Add support for SLIP-0010 'Bitcoin seed' using secp256k1.

5 months agoMerge branch 'next/ledger-sign-nonce'
Chris Duncan [Tue, 21 Oct 2025 05:42:00 +0000 (22:42 -0700)]
Merge branch 'next/ledger-sign-nonce'

5 months agoRestore Ledger ability to sign nonces and add test cases.
Chris Duncan [Tue, 21 Oct 2025 05:35:29 +0000 (22:35 -0700)]
Restore Ledger ability to sign nonces and add test cases.

5 months agoAdd Nano S+ test vectors.
Chris Duncan [Sun, 19 Oct 2025 06:31:55 +0000 (23:31 -0700)]
Add Nano S+ test vectors.

5 months agoMerge branch 'releases/v0.10'
Chris Duncan [Mon, 13 Oct 2025 08:32:37 +0000 (01:32 -0700)]
Merge branch 'releases/v0.10'

5 months agov0.10.4
Chris Duncan [Mon, 13 Oct 2025 08:22:15 +0000 (01:22 -0700)]
v0.10.4

5 months agoDeprecate NamedData type which is redundant against the built-in Record type. Clear...
Chris Duncan [Mon, 13 Oct 2025 08:18:16 +0000 (01:18 -0700)]
Deprecate NamedData type which is redundant against the built-in Record type. Clear passwords prior to awaiting promises that use them. Reduce object property lookups by using values() instead of keys(). Insert Ledger wallets to IndexedDB with zero-length buffers for encryption data.

5 months agoMerge branch 'releases/v0.10'
Chris Duncan [Fri, 10 Oct 2025 21:52:56 +0000 (14:52 -0700)]
Merge branch 'releases/v0.10'

5 months agov0.10.3
Chris Duncan [Fri, 10 Oct 2025 21:50:32 +0000 (14:50 -0700)]
v0.10.3

5 months agoUpdate dependencies.
Chris Duncan [Fri, 10 Oct 2025 21:46:55 +0000 (14:46 -0700)]
Update dependencies.

6 months agoMerge branch 'releases/v0.10'
Chris Duncan [Wed, 24 Sep 2025 20:58:26 +0000 (13:58 -0700)]
Merge branch 'releases/v0.10'

6 months agov0.10.2
Chris Duncan [Wed, 24 Sep 2025 20:57:32 +0000 (13:57 -0700)]
v0.10.2

6 months agoDispatch events when Ledger status changes and when wallet lock status changes.
Chris Duncan [Wed, 24 Sep 2025 20:50:11 +0000 (13:50 -0700)]
Dispatch events when Ledger status changes and when wallet lock status changes.

6 months agoMerge branch 'releases/v0.10'
Chris Duncan [Wed, 24 Sep 2025 15:13:56 +0000 (08:13 -0700)]
Merge branch 'releases/v0.10'

6 months agov0.10.1
Chris Duncan [Wed, 24 Sep 2025 15:12:07 +0000 (08:12 -0700)]
v0.10.1

6 months agoUpdate dependencies.
Chris Duncan [Wed, 24 Sep 2025 15:10:45 +0000 (08:10 -0700)]
Update dependencies.

6 months agoFix restore of Ledger wallets.
Chris Duncan [Wed, 24 Sep 2025 15:09:01 +0000 (08:09 -0700)]
Fix restore of Ledger wallets.

6 months agoMerge branch 'releases/v0.10'
Chris Duncan [Wed, 24 Sep 2025 04:14:36 +0000 (21:14 -0700)]
Merge branch 'releases/v0.10'

6 months agov0.10.0
Chris Duncan [Tue, 23 Sep 2025 21:48:51 +0000 (14:48 -0700)]
v0.10.0

6 months agoMerge branch 'next/ledger-connect-events'
Chris Duncan [Tue, 23 Sep 2025 19:06:34 +0000 (12:06 -0700)]
Merge branch 'next/ledger-connect-events'

6 months agoDelay test assertions slightly to avoid race condition with vault timer.
Chris Duncan [Tue, 23 Sep 2025 18:51:51 +0000 (11:51 -0700)]
Delay test assertions slightly to avoid race condition with vault timer.

6 months agoSpecify type for vault results.
Chris Duncan [Tue, 23 Sep 2025 18:50:31 +0000 (11:50 -0700)]
Specify type for vault results.

6 months agoFix expected failures in tests with timeouts.
Chris Duncan [Tue, 23 Sep 2025 18:47:37 +0000 (11:47 -0700)]
Fix expected failures in tests with timeouts.

6 months agoSpecify strict equality in timeout test.
Chris Duncan [Tue, 23 Sep 2025 17:55:20 +0000 (10:55 -0700)]
Specify strict equality in timeout test.

6 months agoAdjust test scenario documentation.
Chris Duncan [Tue, 23 Sep 2025 17:54:37 +0000 (10:54 -0700)]
Adjust test scenario documentation.

6 months agoScrap lib build, just publish bundles.
Chris Duncan [Tue, 23 Sep 2025 16:59:42 +0000 (09:59 -0700)]
Scrap lib build, just publish bundles.

6 months agoLog when click activation ends when disconnecting Ledger. Blank out local copy of...
Chris Duncan [Tue, 23 Sep 2025 14:27:38 +0000 (07:27 -0700)]
Log when click activation ends when disconnecting Ledger. Blank out local copy of mnemonic or seed when verifying Ledger.

6 months agoClean up temp wallet used to verify Ledger secrets.
Chris Duncan [Tue, 23 Sep 2025 14:16:07 +0000 (07:16 -0700)]
Clean up temp wallet used to verify Ledger secrets.

6 months agoPush Ledger disconnects as queued request.
Chris Duncan [Tue, 23 Sep 2025 14:12:48 +0000 (07:12 -0700)]
Push Ledger disconnects as queued request.

6 months agoRedestroy wallet at end of Ledger test to stop polling.
Chris Duncan [Tue, 23 Sep 2025 14:11:40 +0000 (07:11 -0700)]
Redestroy wallet at end of Ledger test to stop polling.

6 months agoAwait device close.
Chris Duncan [Mon, 22 Sep 2025 21:17:45 +0000 (14:17 -0700)]
Await device close.

6 months agoSeparate public connect from private implementation. Start rewiring connection pollin...
Chris Duncan [Mon, 22 Sep 2025 21:02:58 +0000 (14:02 -0700)]
Separate public connect from private implementation. Start rewiring connection polling to allow it to end on disconnect.

6 months agoExpand on reasoning for skipping test by default.
Chris Duncan [Mon, 22 Sep 2025 20:04:01 +0000 (13:04 -0700)]
Expand on reasoning for skipping test by default.

6 months agoUse normal static imports now that importmap is implemented for browser test webpage.
Chris Duncan [Mon, 22 Sep 2025 20:02:02 +0000 (13:02 -0700)]
Use normal static imports now that importmap is implemented for browser test webpage.

6 months agoFix map size property.
Chris Duncan [Mon, 22 Sep 2025 20:01:43 +0000 (13:01 -0700)]
Fix map size property.

6 months agoFix JSDoc.
Chris Duncan [Mon, 22 Sep 2025 20:00:46 +0000 (13:00 -0700)]
Fix JSDoc.