495 Commits

Author SHA1 Message Date
Sergio Chouhy
8f6a519f0e clippy 2026-05-07 13:45:51 -03:00
Moudy
69b81ea621 fix: address review feedback, persist group data in wallet storage 2026-05-07 17:35:51 +02:00
Sergio Chouhy
f722d257a3 fmt 2026-05-07 01:41:35 -03:00
jonesmarvin8
d98f13adde Ci fixes 2026-05-06 20:35:46 -04:00
Moudy
d0a88e91e1 feat: extend sync to scan shared accounts with GMS-derived keys 2026-05-06 14:22:49 +02:00
Moudy
cd545819e7 feat(wallet)!: add group CLI commands with --for-gms account creation
BREAKING CHANGE: `NewSubcommand::Private` has new required fields (`for_gms`, `pda`, `seed`, `program_id`). Code constructing this variant must include them (use `None`/`false` for defaults). `shared_accounts` value type changed from `Account` to `SharedAccountEntry`.
2026-05-06 14:22:40 +02:00
Moudy
7be0ed926c feat(wallet)!: add derive_keys_for_shared_account and PrivateShared variant
BREAKING CHANGE: `pda_accounts` field in NSSAUserData renamed to `shared_accounts`. `PrivacyPreservingAccount` enum has a new `PrivateShared` variant, exhaustive matches must handle it.
2026-05-06 14:22:10 +02:00
Sergio Chouhy
fb4ddb055a Merge branch 'main' into schouhy/diversify-private-pdas-by-identifier 2026-05-06 00:22:58 -03:00
jonesmarvin8
36a1ff319c some fixes and setup notes 2026-05-05 19:03:01 -04:00
Moudy
9e207450d6 fix: resolve merge conflicts with main 2026-05-05 12:37:54 +02:00
jonesmarvin8
c172780bc6 ci and add private account keys test 2026-05-04 21:28:29 -04:00
Sergio Chouhy
11949e9fa1 use privateaccountkind in storage and fix circuit 2026-05-04 21:40:30 -03:00
Sergio Chouhy
7d5e1492c4 update insert_private_account_data to take account kind instead of identifier 2026-05-04 20:12:54 -03:00
Sergio Chouhy
71ad4e0c85 fix account id computation in wallet to account for pdas 2026-05-04 18:11:38 -03:00
jonesmarvin8
eb05957182 ci fixes 2026-05-04 10:03:44 -04:00
jonesmarvin8
574ae746d4 expanded support 2026-05-01 19:35:57 -04:00
jonesmarvin8
a8156b579c adding support to other programs 2026-05-01 02:44:36 -04:00
Sergio Chouhy
dd4670ab2f encrypt privateaccountkind instead of identifier 2026-05-01 01:21:48 -03:00
jonesmarvin8
8d398646ca Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-30 21:04:22 -04:00
jonesmarvin8
1d77446baa fixes from merging main 2026-04-30 20:58:28 -04:00
jonesmarvin8
143c697c4e Merge branch 'marvin/refactor-wallet-pub-acc' into marvin/keycard-commands 2026-04-30 19:05:18 -04:00
jonesmarvin8
5d035d9f8f comment fixes 2026-04-30 19:02:33 -04:00
jonesmarvin8
a4692fc735 Merge branch 'main' into marvin/refactor-wallet-pub-acc 2026-04-30 14:22:43 -04:00
Moudy
8517906025 Merge branch 'main' into moudy/feat-strong-type-circuit-input 2026-04-30 20:17:47 +02:00
jonesmarvin8
5b159e2668 addressed comments 2026-04-30 11:28:32 -04:00
Moudy
4690ca56cc fix: remove epoch and ratcheting, fix PDA identifier 2026-04-30 16:34:26 +02:00
Moudy
98da9b26cc fix: address PR review feedback
- Rename PrivacyPreservingCircuitInputAccount to InputAccountIdentity (drop the PrivacyPreservingCircuit prefix; add Identity suffix)
- Rename PrivacyPreservingCircuitInput.accounts to account_identities
- Rename AccountManager.accounts() to account_identities() and loop variables to account_identity
- Drop legacy mask-1/2/3 references from variant doc comments and guest comments
- Remove the explanatory comments about deleted parallel-vec tests; moved to the PR description
- Rebake privacy_preserving_circuit and test program artifacts
2026-04-30 15:46:36 +02:00
Moudy
4c28133448 fix: resolve merge conflicts 2026-04-30 15:04:33 +02:00
Moudy
f375a35929 fix: address PR review feedback
- Add SealingPublicKey/SealingSecretKey type aliases for seal_for/unseal
- Generalize PrivateGroupPda to PrivatePda with pre-resolved keys
- Rename group_pda_spender to private_pda_spender
- Rename group_pda_accounts to pda_accounts with serde alias
- Remove unused storage_mut()
- Remove stale group_pda_router.bin artifact
2026-04-30 09:11:08 +02:00
Sergio Chouhy
72756e8622 Merge branch 'main' into schouhy/generalize-npk-to-multiple-accounts 2026-04-29 12:28:05 -03:00
jonesmarvin8
780396f040 ci and comments 2026-04-29 07:55:54 -04:00
jonesmarvin8
ab65c4be86 privacy command fixes 2026-04-29 07:52:15 -04:00
Moudy
198eac1cf1 refactor: address PR #449 review feedback 2026-04-29 10:11:37 +02:00
Moudy
f7349656c7 refactor: strong-type PrivacyPreservingCircuitInput with per-account enum 2026-04-29 07:37:30 +02:00
jonesmarvin8
20d3c081ae Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 21:34:17 -04:00
jonesmarvin8
8312bf6c2a update artifacts 2026-04-28 21:33:12 -04:00
jonesmarvin8
6261c80773 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 20:49:07 -04:00
jonesmarvin8
d22a884b5e Update public.rs 2026-04-28 20:48:02 -04:00
jonesmarvin8
01cc7e24b6 fixed integration tests 2026-04-28 20:45:43 -04:00
jonesmarvin8
6fbe5e42c7 CI fixes 2026-04-28 19:07:27 -04:00
jonesmarvin8
d031b10e45 Merge branch 'marvin/keycard-commands' into marvin/keycard-privacy-commands 2026-04-28 18:11:47 -04:00
jonesmarvin8
58fdb7e74c Merge branch 'marvin/refactor-wallet-pub-acc' into marvin/keycard-commands 2026-04-28 18:09:52 -04:00
jonesmarvin8
cc78901c7a add test 2026-04-28 18:01:52 -04:00
jonesmarvin8
269a1df390 fixed from earlier merge 2026-04-28 16:32:42 -04:00
jonesmarvin8
dd78314ca0 Merge branch 'marvin/refactor-wallet-pub-acc' into marvin/keycard-commands 2026-04-28 14:17:15 -04:00
jonesmarvin8
27905d94d6 addressed more comments 2026-04-28 14:13:04 -04:00
jonesmarvin8
d5dea3e115 fix integration test issue and updated keycard firmware 2026-04-28 14:10:54 -04:00
Sergio Chouhy
a23e44a8df fmt and clippy 2026-04-28 00:18:57 -03:00
Sergio Chouhy
aea397565d add test. Remove private sync skip when no private accounts 2026-04-28 00:04:42 -03:00
Sergio Chouhy
f512a3bf0f refactor wallet config to use identifiers instead of the redundant account_id field 2026-04-27 23:12:30 -03:00