]> git.codecow.com Git - libnemo.git/log
libnemo.git
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.

8 months agoEliminate redundant code.
Chris Duncan [Sat, 26 Jul 2025 08:07:36 +0000 (01:07 -0700)]
Eliminate redundant code.

8 months agoFix tests checking wallet ID format.
Chris Duncan [Sat, 26 Jul 2025 08:05:32 +0000 (01:05 -0700)]
Fix tests checking wallet ID format.

8 months agoFix incorrect ID stored for wallets.
Chris Duncan [Sat, 26 Jul 2025 08:03:10 +0000 (01:03 -0700)]
Fix incorrect ID stored for wallets.

8 months agoFix ledger environment check.
Chris Duncan [Sat, 26 Jul 2025 07:58:48 +0000 (00:58 -0700)]
Fix ledger environment check.

8 months agoFix wallet id format.
Chris Duncan [Sat, 26 Jul 2025 07:56:22 +0000 (00:56 -0700)]
Fix wallet id format.

8 months agoSpecify buffer type and use shorter type alias.
Chris Duncan [Sat, 26 Jul 2025 07:43:24 +0000 (00:43 -0700)]
Specify buffer type and use shorter type alias.

8 months agoRevert restore refactoring.
Chris Duncan [Sat, 26 Jul 2025 06:24:46 +0000 (23:24 -0700)]
Revert restore refactoring.

8 months agoRefactor Ledger transport as static member.
Chris Duncan [Sat, 26 Jul 2025 06:20:55 +0000 (23:20 -0700)]
Refactor Ledger transport as static member.

8 months agoUse convenience method.
Chris Duncan [Sat, 26 Jul 2025 06:10:43 +0000 (23:10 -0700)]
Use convenience method.

8 months agoMove restore wallet method to parent class and implement type in wallet ID for easy...
Chris Duncan [Sat, 26 Jul 2025 05:58:20 +0000 (22:58 -0700)]
Move restore wallet method to parent class and implement type in wallet ID for easy visibility in db.

8 months agoConvenient method to reduce explicit buffer access.
Chris Duncan [Sat, 26 Jul 2025 05:38:44 +0000 (22:38 -0700)]
Convenient method to reduce explicit buffer access.

8 months agoMerge branch 'next/export-wallets'
Chris Duncan [Fri, 25 Jul 2025 14:14:53 +0000 (07:14 -0700)]
Merge branch 'next/export-wallets'

8 months agoTest basic wallet export and restoration.
Chris Duncan [Fri, 25 Jul 2025 14:14:28 +0000 (07:14 -0700)]
Test basic wallet export and restoration.

8 months agoAdd wallet types so they can be restored properly later.
Chris Duncan [Fri, 25 Jul 2025 13:01:54 +0000 (06:01 -0700)]
Add wallet types so they can be restored properly later.

8 months agoAdd type for wallet export. Remove references to "session" storage which is no longer...
Chris Duncan [Fri, 25 Jul 2025 12:39:06 +0000 (05:39 -0700)]
Add type for wallet export. Remove references to "session" storage which is no longer used.

8 months agoFix export of all wallet IDs.
Chris Duncan [Fri, 25 Jul 2025 12:34:16 +0000 (05:34 -0700)]
Fix export of all wallet IDs.

8 months agoCreate dedicated export method for Safe.
Chris Duncan [Fri, 25 Jul 2025 12:31:28 +0000 (05:31 -0700)]
Create dedicated export method for Safe.

8 months ago`libnemo_` wallet prefix is unnecessary now that they have their own IndexedDB store.
Chris Duncan [Fri, 25 Jul 2025 12:14:40 +0000 (05:14 -0700)]
`libnemo_` wallet prefix is unnecessary now that they have their own IndexedDB store.

8 months agoRefactor Ledger browser support check to static sync method and deprecate redundant...
Chris Duncan [Fri, 25 Jul 2025 12:10:41 +0000 (05:10 -0700)]
Refactor Ledger browser support check to static sync method and deprecate redundant init method. Skip Ledger tests if browser unsupported. Update Ledger types.

8 months agoProceed with destroying accounts and wallet while promises are being fulfilled.
Chris Duncan [Fri, 25 Jul 2025 11:42:42 +0000 (04:42 -0700)]
Proceed with destroying accounts and wallet while promises are being fulfilled.

8 months agoChecking for null is redundant.
Chris Duncan [Fri, 25 Jul 2025 11:40:22 +0000 (04:40 -0700)]
Checking for null is redundant.

8 months agoRename primary worker method for clarity.
Chris Duncan [Fri, 25 Jul 2025 11:28:02 +0000 (04:28 -0700)]
Rename primary worker method for clarity.

8 months agoMerge branch 'releases/v0.1'
Chris Duncan [Fri, 25 Jul 2025 11:22:24 +0000 (04:22 -0700)]
Merge branch 'releases/v0.1'

8 months agov0.1.0 releases/v0.1
Chris Duncan [Thu, 24 Jul 2025 21:42:52 +0000 (14:42 -0700)]
v0.1.0

8 months agoMerge branch 'next/sign-from-wallet'
Chris Duncan [Thu, 24 Jul 2025 21:33:36 +0000 (14:33 -0700)]
Merge branch 'next/sign-from-wallet'

8 months agoUpdate README.
Chris Duncan [Thu, 24 Jul 2025 21:33:01 +0000 (14:33 -0700)]
Update README.

8 months agoAdd wallet method to sign blocks by account index. Remove nonce signing from Ledger...
Chris Duncan [Thu, 24 Jul 2025 21:23:56 +0000 (14:23 -0700)]
Add wallet method to sign blocks by account index. Remove nonce signing from Ledger wallet since the underlying device app functionality is broken. Add tests and types accordingly.

8 months agoRestore accidentally deleted type.
Chris Duncan [Thu, 24 Jul 2025 15:21:33 +0000 (08:21 -0700)]
Restore accidentally deleted type.

8 months agoMerge branch 'next/mobile'
Chris Duncan [Thu, 24 Jul 2025 15:10:01 +0000 (08:10 -0700)]
Merge branch 'next/mobile'

8 months agoUpdate dependencies.
Chris Duncan [Thu, 24 Jul 2025 15:09:40 +0000 (08:09 -0700)]
Update dependencies.

8 months agoUpdate types.
Chris Duncan [Thu, 24 Jul 2025 15:04:43 +0000 (08:04 -0700)]
Update types.

8 months agoReorder queue methods.
Chris Duncan [Thu, 24 Jul 2025 14:43:24 +0000 (07:43 -0700)]
Reorder queue methods.

8 months agoSet idle flag before exiting queue processing.
Chris Duncan [Thu, 24 Jul 2025 14:43:03 +0000 (07:43 -0700)]
Set idle flag before exiting queue processing.

8 months agoOn second thought, just specify the type of array instead of messing with its contents.
Chris Duncan [Thu, 24 Jul 2025 14:00:21 +0000 (07:00 -0700)]
On second thought, just specify the type of array instead of messing with its contents.

8 months agoPop empty object off test queue so type checking still works as well as queue.
Chris Duncan [Thu, 24 Jul 2025 13:57:27 +0000 (06:57 -0700)]
Pop empty object off test queue so type checking still works as well as queue.

8 months agoReenable all tests from main.
Chris Duncan [Thu, 24 Jul 2025 13:56:23 +0000 (06:56 -0700)]
Reenable all tests from main.

8 months agoDisable ledger tests for now.
Chris Duncan [Thu, 24 Jul 2025 13:56:08 +0000 (06:56 -0700)]
Disable ledger tests for now.

8 months agoFix import url.
Chris Duncan [Thu, 24 Jul 2025 13:55:58 +0000 (06:55 -0700)]
Fix import url.

8 months agoMerge branch 'next/test-coverage'
Chris Duncan [Wed, 23 Jul 2025 23:46:02 +0000 (16:46 -0700)]
Merge branch 'next/test-coverage'

8 months agoFix account import from public key. Remove tests for private key on Ledger devices.
Chris Duncan [Wed, 23 Jul 2025 23:44:26 +0000 (16:44 -0700)]
Fix account import from public key. Remove tests for private key on Ledger devices.

8 months agobkp
Chris Duncan [Wed, 23 Jul 2025 22:20:29 +0000 (15:20 -0700)]
bkp

8 months agoTypecheck test files.
Chris Duncan [Wed, 23 Jul 2025 21:23:07 +0000 (14:23 -0700)]
Typecheck test files.

8 months agoEnsure test runner is done before running tests.
Chris Duncan [Wed, 23 Jul 2025 21:14:25 +0000 (14:14 -0700)]
Ensure test runner is done before running tests.