]>
git.codecow.com Git - libnemo.git/log
Chris Duncan [Mon, 4 Aug 2025 13:50:23 +0000 (06:50 -0700)]
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.
Chris Duncan [Mon, 4 Aug 2025 13:48:42 +0000 (06:48 -0700)]
Validate mnemonic input type and format.
Chris Duncan [Sun, 3 Aug 2025 22:08:05 +0000 (15:08 -0700)]
Reorder functions.
Chris Duncan [Sun, 3 Aug 2025 22:07:16 +0000 (15:07 -0700)]
Remove silenced function call.
Chris Duncan [Sun, 3 Aug 2025 22:06:41 +0000 (15:06 -0700)]
Use bitwise truncation instead of calling Math function.
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.
Chris Duncan [Sun, 3 Aug 2025 22:00:00 +0000 (15:00 -0700)]
Eliminate function calls by declaring float arrays inline.
Chris Duncan [Sun, 3 Aug 2025 21:57:20 +0000 (14:57 -0700)]
Replace set method with builtin typed array methods.
Chris Duncan [Sun, 3 Aug 2025 11:26:09 +0000 (04:26 -0700)]
Revert fill change.
Chris Duncan [Sun, 3 Aug 2025 11:00:09 +0000 (04:00 -0700)]
Lowercase hex.
Chris Duncan [Sun, 3 Aug 2025 10:45:40 +0000 (03:45 -0700)]
Fill is redundant on a newly initialized array.
Chris Duncan [Sun, 3 Aug 2025 10:44:40 +0000 (03:44 -0700)]
Implement optimized square function for nacl.
Chris Duncan [Sun, 3 Aug 2025 09:05:15 +0000 (02:05 -0700)]
Expand operation function names for clarity over brevity.
Chris Duncan [Sun, 3 Aug 2025 09:04:11 +0000 (02:04 -0700)]
Define q[3] as XY constant value. Add gf[4] helper.
Chris Duncan [Sun, 3 Aug 2025 07:27:06 +0000 (00:27 -0700)]
Subarray to eliminate a copy.
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.
Chris Duncan [Sun, 3 Aug 2025 06:13:43 +0000 (23:13 -0700)]
Replace multiple gf definitions and redundant crypto_hash
Chris Duncan [Sun, 3 Aug 2025 05:40:12 +0000 (22:40 -0700)]
Convert index to bytes with buffers instead of string manipulation.
Chris Duncan [Sun, 3 Aug 2025 02:17:50 +0000 (19:17 -0700)]
Specify backing buffer
Chris Duncan [Sat, 2 Aug 2025 21:25:21 +0000 (14:25 -0700)]
Merge branch 'next/derive-all-accounts'
Chris Duncan [Sat, 2 Aug 2025 21:21:50 +0000 (14:21 -0700)]
Fix rolodex contact management.
Chris Duncan [Sat, 2 Aug 2025 20:15:57 +0000 (13:15 -0700)]
Fix lock and unlock tests.
Chris Duncan [Sat, 2 Aug 2025 20:15:10 +0000 (13:15 -0700)]
Be more specific when validating mnemonic string input.
Chris Duncan [Sat, 2 Aug 2025 20:05:13 +0000 (13:05 -0700)]
Fix test.
Chris Duncan [Sat, 2 Aug 2025 20:04:48 +0000 (13:04 -0700)]
Improve input validation for wallet secret verification.
Chris Duncan [Sat, 2 Aug 2025 20:00:09 +0000 (13:00 -0700)]
Improve wallet secret import validation.
Chris Duncan [Sat, 2 Aug 2025 19:26:51 +0000 (12:26 -0700)]
Fix test variable reference.
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.
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.
Chris Duncan [Sat, 2 Aug 2025 19:05:21 +0000 (12:05 -0700)]
Remove debugger statement.
Chris Duncan [Sat, 2 Aug 2025 19:05:11 +0000 (12:05 -0700)]
Fix db calls using inline "id" key and keypath.
Chris Duncan [Sat, 2 Aug 2025 18:59:12 +0000 (11:59 -0700)]
Enable indexeddb in node builds.
Chris Duncan [Sat, 2 Aug 2025 09:40:39 +0000 (02:40 -0700)]
Update type definition for wallet.
Chris Duncan [Sat, 2 Aug 2025 09:38:09 +0000 (02:38 -0700)]
Overhaul wallet import tests.
Chris Duncan [Sat, 2 Aug 2025 09:37:56 +0000 (02:37 -0700)]
Fix wallet restore from db id.
Chris Duncan [Sat, 2 Aug 2025 09:13:45 +0000 (02:13 -0700)]
Fix valid seed byte ranges.
Chris Duncan [Sat, 2 Aug 2025 08:53:40 +0000 (01:53 -0700)]
Remove debugger statements.
Chris Duncan [Sat, 2 Aug 2025 08:53:13 +0000 (01:53 -0700)]
Fix assertions for expected failures.
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.
Chris Duncan [Sat, 2 Aug 2025 07:53:53 +0000 (00:53 -0700)]
Fix wallet auto lock timing. Fix wallet verify method.
Chris Duncan [Sat, 2 Aug 2025 07:53:09 +0000 (00:53 -0700)]
Formatting.
Chris Duncan [Sat, 2 Aug 2025 07:52:19 +0000 (00:52 -0700)]
Fix incorrect BIP-39 passphrase.
Chris Duncan [Sat, 2 Aug 2025 06:47:24 +0000 (23:47 -0700)]
Restore wallet database export method.
Chris Duncan [Sat, 2 Aug 2025 06:24:51 +0000 (23:24 -0700)]
Fix wallet imports in test.
Chris Duncan [Sat, 2 Aug 2025 06:24:15 +0000 (23:24 -0700)]
Fix wallet automatic lock timeout.
Chris Duncan [Sat, 2 Aug 2025 05:51:49 +0000 (22:51 -0700)]
Fix account handling array buffer.
Chris Duncan [Fri, 1 Aug 2025 21:48:59 +0000 (14:48 -0700)]
Update tests. Remove redundant globalThis references.
Chris Duncan [Fri, 1 Aug 2025 21:44:05 +0000 (14:44 -0700)]
Add update password method to Safe and fix seed type checking.
Chris Duncan [Fri, 1 Aug 2025 21:39:10 +0000 (14:39 -0700)]
Reject if worker reported an error.
Chris Duncan [Fri, 1 Aug 2025 21:15:00 +0000 (14:15 -0700)]
Fix tests and types. Rename Ledger class.
Chris Duncan [Fri, 1 Aug 2025 21:07:07 +0000 (14:07 -0700)]
Create wallet tests now passing.
Chris Duncan [Fri, 1 Aug 2025 14:37:01 +0000 (07:37 -0700)]
Throw from worker if terminated.
Chris Duncan [Fri, 1 Aug 2025 06:37:50 +0000 (23:37 -0700)]
Successfully signed open block with wallet.
Chris Duncan [Thu, 31 Jul 2025 23:02:56 +0000 (16:02 -0700)]
Fix password parsing.
Chris Duncan [Thu, 31 Jul 2025 22:58:03 +0000 (15:58 -0700)]
Debug password from worker message.
Chris Duncan [Thu, 31 Jul 2025 22:56:00 +0000 (15:56 -0700)]
Fix types and imports.
Chris Duncan [Thu, 31 Jul 2025 21:44:44 +0000 (14:44 -0700)]
Fix imports.
Chris Duncan [Thu, 31 Jul 2025 21:40:37 +0000 (14:40 -0700)]
Complete merge of wallet types.
Chris Duncan [Thu, 31 Jul 2025 21:13:41 +0000 (14:13 -0700)]
Simplify blake ckd.
Chris Duncan [Thu, 31 Jul 2025 21:02:03 +0000 (14:02 -0700)]
Begin moving to single wallet implementation.
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.
Chris Duncan [Thu, 31 Jul 2025 04:03:26 +0000 (21:03 -0700)]
Continue developing secure wallet worker.
Chris Duncan [Wed, 30 Jul 2025 17:02:59 +0000 (10:02 -0700)]
Merge branch 'main' into next/derive-all-accounts
Chris Duncan [Wed, 30 Jul 2025 17:00:11 +0000 (10:00 -0700)]
Merge branch 'next/improve-bip39'
Chris Duncan [Wed, 30 Jul 2025 16:55:09 +0000 (09:55 -0700)]
Update mnemonic class comments.
Chris Duncan [Wed, 30 Jul 2025 15:28:57 +0000 (08:28 -0700)]
Reorder static methods.
Chris Duncan [Wed, 30 Jul 2025 15:27:56 +0000 (08:27 -0700)]
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.
Chris Duncan [Wed, 30 Jul 2025 14:37:25 +0000 (07:37 -0700)]
Reorder methods.
Chris Duncan [Wed, 30 Jul 2025 14:29:37 +0000 (07:29 -0700)]
Refactor mnemonic validation to compare bitwise using bigints.
Chris Duncan [Wed, 30 Jul 2025 13:59:44 +0000 (06:59 -0700)]
Delete unused variable.
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.
Chris Duncan [Wed, 30 Jul 2025 13:53:34 +0000 (06:53 -0700)]
Unnecessary parentheses.
Chris Duncan [Wed, 30 Jul 2025 13:51:02 +0000 (06:51 -0700)]
Check that blake seed for imported mnemonic equals input entropy.
Chris Duncan [Tue, 29 Jul 2025 09:34:04 +0000 (02:34 -0700)]
Refactor BIP-39 mnemonic generation from strings to bitwise operations.
Chris Duncan [Tue, 29 Jul 2025 08:04:25 +0000 (01:04 -0700)]
Specify buffer type for entropy.
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.
Chris Duncan [Mon, 28 Jul 2025 21:49:17 +0000 (14:49 -0700)]
Deprecate NanoNaCl worker and just use it in eventual Safe worker.
Chris Duncan [Mon, 28 Jul 2025 21:48:26 +0000 (14:48 -0700)]
Fix import.
Chris Duncan [Mon, 28 Jul 2025 09:12:30 +0000 (02:12 -0700)]
Remove worker capabilities from ckd class.
Chris Duncan [Mon, 28 Jul 2025 09:07:32 +0000 (02:07 -0700)]
Remove unused import.
Chris Duncan [Mon, 28 Jul 2025 09:05:29 +0000 (02:05 -0700)]
Rename directory for clarity.
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.
Chris Duncan [Mon, 28 Jul 2025 05:42:17 +0000 (22:42 -0700)]
Password conversion worker.
Chris Duncan [Mon, 28 Jul 2025 05:16:26 +0000 (22:16 -0700)]
Merge branch 'next/test-coverage'
Chris Duncan [Sun, 27 Jul 2025 22:39:58 +0000 (15:39 -0700)]
Remove deprecated account export from tests. Fix block signature verification tests.
Chris Duncan [Sun, 27 Jul 2025 21:25:47 +0000 (14:25 -0700)]
Accept password only for secure account methods. Remove private key export.
Chris Duncan [Sun, 27 Jul 2025 09:25:27 +0000 (02:25 -0700)]
Merge branch 'next/consolidate-wallets'
Chris Duncan [Sun, 27 Jul 2025 09:21:18 +0000 (02:21 -0700)]
Fix updated schema for test.
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.
Chris Duncan [Sun, 27 Jul 2025 08:28:34 +0000 (01:28 -0700)]
Start taking only string passwords.
Chris Duncan [Sun, 27 Jul 2025 07:28:44 +0000 (00:28 -0700)]
Fix wallet destruction. Adjust Ledger browser support check.
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.
Chris Duncan [Sun, 27 Jul 2025 06:48:06 +0000 (23:48 -0700)]
Remove passkey worker since salts are locked up in Safe anyway.
Chris Duncan [Sun, 27 Jul 2025 05:10:57 +0000 (22:10 -0700)]
Refactor data extraction into separate function.
Chris Duncan [Sun, 27 Jul 2025 04:45:05 +0000 (21:45 -0700)]
Reduce worker dependencies.
Chris Duncan [Sat, 26 Jul 2025 23:27:39 +0000 (16:27 -0700)]
Add CryptoKey to accepted worker data types. Fix passkey worker.
Chris Duncan [Sat, 26 Jul 2025 19:35:01 +0000 (12:35 -0700)]
Add password-to-CryptoKey convert worker.
Chris Duncan [Sat, 26 Jul 2025 08:07:36 +0000 (01:07 -0700)]
Eliminate redundant code.