]> git.codecow.com Git - libnemo.git/log
libnemo.git
7 months agoType check entropy and checksum concatenation. Ensure mnemonic phrase is lowercase...
Chris Duncan [Mon, 4 Aug 2025 13:57:32 +0000 (06:57 -0700)]
Type check entropy and checksum concatenation. Ensure mnemonic phrase is lowercase when imported.

7 months agoUpdate import paths.
Chris Duncan [Mon, 4 Aug 2025 13:50:23 +0000 (06:50 -0700)]
Update import paths.

7 months agoValidate mnemonic import to wallet more strictly. Update import paths.
Chris Duncan [Mon, 4 Aug 2025 13:49:20 +0000 (06:49 -0700)]
Validate mnemonic import to wallet more strictly. Update import paths.

7 months agoValidate mnemonic input type and format.
Chris Duncan [Mon, 4 Aug 2025 13:48:42 +0000 (06:48 -0700)]
Validate mnemonic input type and format.

7 months agoReorder functions.
Chris Duncan [Sun, 3 Aug 2025 22:08:05 +0000 (15:08 -0700)]
Reorder functions.

7 months agoRemove silenced function call.
Chris Duncan [Sun, 3 Aug 2025 22:07:16 +0000 (15:07 -0700)]
Remove silenced function call.

7 months agoUse bitwise truncation instead of calling Math function.
Chris Duncan [Sun, 3 Aug 2025 22:06:41 +0000 (15:06 -0700)]
Use bitwise truncation instead of calling Math function.

7 months agoEliminate another function call by declaring 4-element arrays of float arrays inline.
Chris Duncan [Sun, 3 Aug 2025 22:01:33 +0000 (15:01 -0700)]
Eliminate another function call by declaring 4-element arrays of float arrays inline.

7 months agoEliminate function calls by declaring float arrays inline.
Chris Duncan [Sun, 3 Aug 2025 22:00:00 +0000 (15:00 -0700)]
Eliminate function calls by declaring float arrays inline.

7 months agoReplace set method with builtin typed array methods.
Chris Duncan [Sun, 3 Aug 2025 21:57:20 +0000 (14:57 -0700)]
Replace set method with builtin typed array methods.

7 months agoRevert fill change.
Chris Duncan [Sun, 3 Aug 2025 11:26:09 +0000 (04:26 -0700)]
Revert fill change.

7 months agoLowercase hex.
Chris Duncan [Sun, 3 Aug 2025 11:00:09 +0000 (04:00 -0700)]
Lowercase hex.

7 months agoFill is redundant on a newly initialized array.
Chris Duncan [Sun, 3 Aug 2025 10:45:40 +0000 (03:45 -0700)]
Fill is redundant on a newly initialized array.

7 months agoImplement optimized square function for nacl.
Chris Duncan [Sun, 3 Aug 2025 10:44:40 +0000 (03:44 -0700)]
Implement optimized square function for nacl.

7 months agoExpand operation function names for clarity over brevity.
Chris Duncan [Sun, 3 Aug 2025 09:05:15 +0000 (02:05 -0700)]
Expand operation function names for clarity over brevity.

7 months agoDefine q[3] as XY constant value. Add gf[4] helper.
Chris Duncan [Sun, 3 Aug 2025 09:04:11 +0000 (02:04 -0700)]
Define q[3] as XY constant value. Add gf[4] helper.

7 months agoSubarray to eliminate a copy.
Chris Duncan [Sun, 3 Aug 2025 07:27:06 +0000 (00:27 -0700)]
Subarray to eliminate a copy.

7 months agoUse set to copy buffer values more efficiently than setting up many for loops. Remove...
Chris Duncan [Sun, 3 Aug 2025 07:22:34 +0000 (00:22 -0700)]
Use set to copy buffer values more efficiently than setting up many for loops. Remove redundant crypto_hash and call blake directly.

7 months agoReplace multiple gf definitions and redundant crypto_hash
Chris Duncan [Sun, 3 Aug 2025 06:13:43 +0000 (23:13 -0700)]
Replace multiple gf definitions and redundant crypto_hash

7 months agoConvert index to bytes with buffers instead of string manipulation.
Chris Duncan [Sun, 3 Aug 2025 05:40:12 +0000 (22:40 -0700)]
Convert index to bytes with buffers instead of string manipulation.

7 months agoSpecify backing buffer
Chris Duncan [Sun, 3 Aug 2025 02:17:50 +0000 (19:17 -0700)]
Specify backing buffer

8 months agoMerge branch 'next/derive-all-accounts'
Chris Duncan [Sat, 2 Aug 2025 21:25:21 +0000 (14:25 -0700)]
Merge branch 'next/derive-all-accounts'

8 months agoFix rolodex contact management.
Chris Duncan [Sat, 2 Aug 2025 21:21:50 +0000 (14:21 -0700)]
Fix rolodex contact management.

8 months agoFix lock and unlock tests.
Chris Duncan [Sat, 2 Aug 2025 20:15:57 +0000 (13:15 -0700)]
Fix lock and unlock tests.

8 months agoBe more specific when validating mnemonic string input.
Chris Duncan [Sat, 2 Aug 2025 20:15:10 +0000 (13:15 -0700)]
Be more specific when validating mnemonic string input.

8 months agoFix test.
Chris Duncan [Sat, 2 Aug 2025 20:05:13 +0000 (13:05 -0700)]
Fix test.

8 months agoImprove input validation for wallet secret verification.
Chris Duncan [Sat, 2 Aug 2025 20:04:48 +0000 (13:04 -0700)]
Improve input validation for wallet secret verification.

8 months agoImprove wallet secret import validation.
Chris Duncan [Sat, 2 Aug 2025 20:00:09 +0000 (13:00 -0700)]
Improve wallet secret import validation.

8 months agoFix test variable reference.
Chris Duncan [Sat, 2 Aug 2025 19:26:51 +0000 (12:26 -0700)]
Fix test variable reference.

8 months agoAccept wallet id as optional input instead of reassigning after the fact during import.
Chris Duncan [Sat, 2 Aug 2025 19:26:36 +0000 (12:26 -0700)]
Accept wallet id as optional input instead of reassigning after the fact during import.

8 months agoFix blake wallet import not assigning mnemonic from seed as if entropy as allowed...
Chris Duncan [Sat, 2 Aug 2025 19:25:57 +0000 (12:25 -0700)]
Fix blake wallet import not assigning mnemonic from seed as if entropy as allowed by spec.

8 months agoRemove debugger statement.
Chris Duncan [Sat, 2 Aug 2025 19:05:21 +0000 (12:05 -0700)]
Remove debugger statement.

8 months agoFix db calls using inline "id" key and keypath.
Chris Duncan [Sat, 2 Aug 2025 19:05:11 +0000 (12:05 -0700)]
Fix db calls using inline "id" key and keypath.

8 months agoEnable indexeddb in node builds.
Chris Duncan [Sat, 2 Aug 2025 18:59:12 +0000 (11:59 -0700)]
Enable indexeddb in node builds.

8 months agoUpdate type definition for wallet.
Chris Duncan [Sat, 2 Aug 2025 09:40:39 +0000 (02:40 -0700)]
Update type definition for wallet.

8 months agoOverhaul wallet import tests.
Chris Duncan [Sat, 2 Aug 2025 09:38:09 +0000 (02:38 -0700)]
Overhaul wallet import tests.

8 months agoFix wallet restore from db id.
Chris Duncan [Sat, 2 Aug 2025 09:37:56 +0000 (02:37 -0700)]
Fix wallet restore from db id.

8 months agoFix valid seed byte ranges.
Chris Duncan [Sat, 2 Aug 2025 09:13:45 +0000 (02:13 -0700)]
Fix valid seed byte ranges.

8 months agoRemove debugger statements.
Chris Duncan [Sat, 2 Aug 2025 08:53:40 +0000 (01:53 -0700)]
Remove debugger statements.

8 months agoFix assertions for expected failures.
Chris Duncan [Sat, 2 Aug 2025 08:53:13 +0000 (01:53 -0700)]
Fix assertions for expected failures.

8 months agoUse new wallet verify method instead of comparing secrets directly in tests.
Chris Duncan [Sat, 2 Aug 2025 07:54:40 +0000 (00:54 -0700)]
Use new wallet verify method instead of comparing secrets directly in tests.

8 months agoFix wallet auto lock timing. Fix wallet verify method.
Chris Duncan [Sat, 2 Aug 2025 07:53:53 +0000 (00:53 -0700)]
Fix wallet auto lock timing. Fix wallet verify method.

8 months agoFormatting.
Chris Duncan [Sat, 2 Aug 2025 07:53:09 +0000 (00:53 -0700)]
Formatting.

8 months agoFix incorrect BIP-39 passphrase.
Chris Duncan [Sat, 2 Aug 2025 07:52:19 +0000 (00:52 -0700)]
Fix incorrect BIP-39 passphrase.

8 months agoRestore wallet database export method.
Chris Duncan [Sat, 2 Aug 2025 06:47:24 +0000 (23:47 -0700)]
Restore wallet database export method.

8 months agoFix wallet imports in test.
Chris Duncan [Sat, 2 Aug 2025 06:24:51 +0000 (23:24 -0700)]
Fix wallet imports in test.

8 months agoFix wallet automatic lock timeout.
Chris Duncan [Sat, 2 Aug 2025 06:24:15 +0000 (23:24 -0700)]
Fix wallet automatic lock timeout.

8 months agoFix account handling array buffer.
Chris Duncan [Sat, 2 Aug 2025 05:51:49 +0000 (22:51 -0700)]
Fix account handling array buffer.

8 months agoUpdate tests. Remove redundant globalThis references.
Chris Duncan [Fri, 1 Aug 2025 21:48:59 +0000 (14:48 -0700)]
Update tests. Remove redundant globalThis references.

8 months agoAdd update password method to Safe and fix seed type checking.
Chris Duncan [Fri, 1 Aug 2025 21:44:05 +0000 (14:44 -0700)]
Add update password method to Safe and fix seed type checking.

8 months agoReject if worker reported an error.
Chris Duncan [Fri, 1 Aug 2025 21:39:10 +0000 (14:39 -0700)]
Reject if worker reported an error.

8 months agoFix tests and types. Rename Ledger class.
Chris Duncan [Fri, 1 Aug 2025 21:15:00 +0000 (14:15 -0700)]
Fix tests and types. Rename Ledger class.

8 months agoCreate wallet tests now passing.
Chris Duncan [Fri, 1 Aug 2025 21:07:07 +0000 (14:07 -0700)]
Create wallet tests now passing.

8 months agoThrow from worker if terminated.
Chris Duncan [Fri, 1 Aug 2025 14:37:01 +0000 (07:37 -0700)]
Throw from worker if terminated.

8 months agoSuccessfully signed open block with wallet.
Chris Duncan [Fri, 1 Aug 2025 06:37:50 +0000 (23:37 -0700)]
Successfully signed open block with wallet.

8 months agoFix password parsing.
Chris Duncan [Thu, 31 Jul 2025 23:02:56 +0000 (16:02 -0700)]
Fix password parsing.

8 months agoDebug password from worker message.
Chris Duncan [Thu, 31 Jul 2025 22:58:03 +0000 (15:58 -0700)]
Debug password from worker message.

8 months agoFix types and imports.
Chris Duncan [Thu, 31 Jul 2025 22:56:00 +0000 (15:56 -0700)]
Fix types and imports.

8 months agoFix imports.
Chris Duncan [Thu, 31 Jul 2025 21:44:44 +0000 (14:44 -0700)]
Fix imports.

8 months agoComplete merge of wallet types.
Chris Duncan [Thu, 31 Jul 2025 21:40:37 +0000 (14:40 -0700)]
Complete merge of wallet types.

8 months agoSimplify blake ckd.
Chris Duncan [Thu, 31 Jul 2025 21:13:41 +0000 (14:13 -0700)]
Simplify blake ckd.

8 months agoBegin moving to single wallet implementation.
Chris Duncan [Thu, 31 Jul 2025 21:02:03 +0000 (14:02 -0700)]
Begin moving to single wallet implementation.

8 months agoProject compiling again, passkey is now the new safe and everything needs to be updated.
Chris Duncan [Thu, 31 Jul 2025 19:05:45 +0000 (12:05 -0700)]
Project compiling again, passkey is now the new safe and everything needs to be updated.

8 months agoContinue developing secure wallet worker.
Chris Duncan [Thu, 31 Jul 2025 04:03:26 +0000 (21:03 -0700)]
Continue developing secure wallet worker.

8 months agoMerge branch 'main' into next/derive-all-accounts
Chris Duncan [Wed, 30 Jul 2025 17:02:59 +0000 (10:02 -0700)]
Merge branch 'main' into next/derive-all-accounts

8 months agoMerge branch 'next/improve-bip39'
Chris Duncan [Wed, 30 Jul 2025 17:00:11 +0000 (10:00 -0700)]
Merge branch 'next/improve-bip39'

8 months agoUpdate mnemonic class comments.
Chris Duncan [Wed, 30 Jul 2025 16:55:09 +0000 (09:55 -0700)]
Update mnemonic class comments.

8 months agoReorder static methods.
Chris Duncan [Wed, 30 Jul 2025 15:28:57 +0000 (08:28 -0700)]
Reorder static methods.

8 months agoReorder static methods.
Chris Duncan [Wed, 30 Jul 2025 15:27:56 +0000 (08:27 -0700)]
Reorder static methods.

8 months agoFix bit shifting when deriving blake seed from mnemonic. Reorder static methods....
Chris Duncan [Wed, 30 Jul 2025 15:27:17 +0000 (08:27 -0700)]
Fix bit shifting when deriving blake seed from mnemonic. Reorder static methods. Remove unnecessary imports.

8 months agoReorder methods.
Chris Duncan [Wed, 30 Jul 2025 14:37:25 +0000 (07:37 -0700)]
Reorder methods.

8 months agoRefactor mnemonic validation to compare bitwise using bigints.
Chris Duncan [Wed, 30 Jul 2025 14:29:37 +0000 (07:29 -0700)]
Refactor mnemonic validation to compare bitwise using bigints.

8 months agoDelete unused variable.
Chris Duncan [Wed, 30 Jul 2025 13:59:44 +0000 (06:59 -0700)]
Delete unused variable.

8 months agoStore mnemonic phrase as word array and convert to full string on-demand. Fix private...
Chris Duncan [Wed, 30 Jul 2025 13:56:16 +0000 (06:56 -0700)]
Store mnemonic phrase as word array and convert to full string on-demand. Fix private member name for accuracy. Check for null. Disallow blake seeds from phrases shorter than 24 words per Nano spec. Improve performance by deriving blake seed using bitwise operations on bigints instead of string manipulation.

8 months agoUnnecessary parentheses.
Chris Duncan [Wed, 30 Jul 2025 13:53:34 +0000 (06:53 -0700)]
Unnecessary parentheses.

8 months agoCheck that blake seed for imported mnemonic equals input entropy.
Chris Duncan [Wed, 30 Jul 2025 13:51:02 +0000 (06:51 -0700)]
Check that blake seed for imported mnemonic equals input entropy.

8 months agoRefactor BIP-39 mnemonic generation from strings to bitwise operations.
Chris Duncan [Tue, 29 Jul 2025 09:34:04 +0000 (02:34 -0700)]
Refactor BIP-39 mnemonic generation from strings to bitwise operations.

8 months agoSpecify buffer type for entropy.
Chris Duncan [Tue, 29 Jul 2025 08:04:25 +0000 (01:04 -0700)]
Specify buffer type for entropy.

8 months agoContinue building out passkey file which will likely just become wallet worker.
Chris Duncan [Tue, 29 Jul 2025 07:32:49 +0000 (00:32 -0700)]
Continue building out passkey file which will likely just become wallet worker.

8 months agoDeprecate NanoNaCl worker and just use it in eventual Safe worker.
Chris Duncan [Mon, 28 Jul 2025 21:49:17 +0000 (14:49 -0700)]
Deprecate NanoNaCl worker and just use it in eventual Safe worker.

8 months agoFix import.
Chris Duncan [Mon, 28 Jul 2025 21:48:26 +0000 (14:48 -0700)]
Fix import.

8 months agoRemove worker capabilities from ckd class.
Chris Duncan [Mon, 28 Jul 2025 09:12:30 +0000 (02:12 -0700)]
Remove worker capabilities from ckd class.

8 months agoRemove unused import.
Chris Duncan [Mon, 28 Jul 2025 09:07:32 +0000 (02:07 -0700)]
Remove unused import.

8 months agoRename directory for clarity.
Chris Duncan [Mon, 28 Jul 2025 09:05:29 +0000 (02:05 -0700)]
Rename directory for clarity.

8 months agoStart migrating to a "secure enclave" style implementation with IndexedDB on main...
Chris Duncan [Mon, 28 Jul 2025 08:27:30 +0000 (01:27 -0700)]
Start migrating to a "secure enclave" style implementation with IndexedDB on main thread and all sensitive wallet operations in "active wallet" worker.

8 months agoPassword conversion worker.
Chris Duncan [Mon, 28 Jul 2025 05:42:17 +0000 (22:42 -0700)]
Password conversion worker.

8 months agoMerge branch 'next/test-coverage'
Chris Duncan [Mon, 28 Jul 2025 05:16:26 +0000 (22:16 -0700)]
Merge branch 'next/test-coverage'

8 months agoRemove deprecated account export from tests. Fix block signature verification tests.
Chris Duncan [Sun, 27 Jul 2025 22:39:58 +0000 (15:39 -0700)]
Remove deprecated account export from tests. Fix block signature verification tests.

8 months agoAccept password only for secure account methods. Remove private key export.
Chris Duncan [Sun, 27 Jul 2025 21:25:47 +0000 (14:25 -0700)]
Accept password only for secure account methods. Remove private key export.

8 months agoMerge branch 'next/consolidate-wallets'
Chris Duncan [Sun, 27 Jul 2025 09:25:27 +0000 (02:25 -0700)]
Merge branch 'next/consolidate-wallets'

8 months agoFix updated schema for test.
Chris Duncan [Sun, 27 Jul 2025 09:21:18 +0000 (02:21 -0700)]
Fix updated schema for test.

8 months agoInclude wallet type in export to assist in restoration after page reload. Accept...
Chris Duncan [Sun, 27 Jul 2025 09:14:59 +0000 (02:14 -0700)]
Include wallet type in export to assist in restoration after page reload. Accept only string passwords to lock and unlock wallet and remove deprecated tests.

8 months agoStart taking only string passwords.
Chris Duncan [Sun, 27 Jul 2025 08:28:34 +0000 (01:28 -0700)]
Start taking only string passwords.

8 months agoFix wallet destruction. Adjust Ledger browser support check.
Chris Duncan [Sun, 27 Jul 2025 07:28:44 +0000 (00:28 -0700)]
Fix wallet destruction. Adjust Ledger browser support check.

8 months agoAdjust how multiple fields are requested from Safe. Fix buffer handling in Safe.
Chris Duncan [Sun, 27 Jul 2025 07:11:28 +0000 (00:11 -0700)]
Adjust how multiple fields are requested from Safe. Fix buffer handling in Safe.

8 months agoRemove passkey worker since salts are locked up in Safe anyway.
Chris Duncan [Sun, 27 Jul 2025 06:48:06 +0000 (23:48 -0700)]
Remove passkey worker since salts are locked up in Safe anyway.

8 months agoRefactor data extraction into separate function.
Chris Duncan [Sun, 27 Jul 2025 05:10:57 +0000 (22:10 -0700)]
Refactor data extraction into separate function.

8 months agoReduce worker dependencies.
Chris Duncan [Sun, 27 Jul 2025 04:45:05 +0000 (21:45 -0700)]
Reduce worker dependencies.

8 months agoAdd CryptoKey to accepted worker data types. Fix passkey worker.
Chris Duncan [Sat, 26 Jul 2025 23:27:39 +0000 (16:27 -0700)]
Add CryptoKey to accepted worker data types. Fix passkey worker.

8 months agoAdd password-to-CryptoKey convert worker.
Chris Duncan [Sat, 26 Jul 2025 19:35:01 +0000 (12:35 -0700)]
Add password-to-CryptoKey convert worker.