]> git.codecow.com Git - libnemo.git/log
libnemo.git
6 months agoRefactor error handling. Refactor byte array type assertions. Reorganize method order...
Chris Duncan [Sun, 7 Dec 2025 00:42:16 +0000 (16:42 -0800)]
Refactor error handling. Refactor byte array type assertions. Reorganize method ordering. Allow getting public key from bigint secret key.

8 months agoFix documentation.
Chris Duncan [Mon, 15 Dec 2025 16:35:23 +0000 (08:35 -0800)]
Fix documentation.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

9 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'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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'

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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