Sosthene
361a8aa409
Update api
2024-08-15 16:19:11 +02:00
Sosthene
b2cab53188
Break down parse_network_msg into parse_new_tx, parse_cipher
2024-08-14 09:45:19 +02:00
Sosthene
ec47592581
Update create_faucet_msg() to return the actual message to send
2024-08-13 14:28:19 +02:00
Sosthene
08aea30e2b
Rm data embedded in images
2024-08-12 05:28:52 +02:00
Sosthene
d82e145f50
working login
2024-08-01 12:26:26 +02:00
Sosthene
30759027b0
Refactor the whole api for the new 2fa model + various improvements
2024-07-19 23:12:11 +02:00
Sosthene
d737242bb5
New User creation
...
* Device is an unlogged user that is just able to scan incoming
transactions
* There's always a Device defined either we load one from indexedDB or
create one
* Logged users have a defined SPENDING_CLIENT that can sign transactions
* The pairing phase is when a new Device is created, we need another
Device to send it it's own spending key via normal 4nk messaging
* The new Device then encrypt it and send it back
* In another transaction, the first Device does the exact same thing
(probably possible to optimize)
* The logging phase is sending a 4nk message with the encrypted spending
key and getting the clear key back, basically logging with one device
of a pair is the same operation than pairing but in reverse
* Revokation output is an unique output for both devices, the validity
of the pair depends of it being unspent
* Revokation output is locked with some random key that both devices
will need to keep
* Todo: 1. implement the revokation scheme
2. optimize the pairing/logging flow
2024-07-11 12:41:23 +02:00
Sosthene
6f74996f39
Add wallet.rs
2024-07-11 12:39:25 +02:00
Sosthene
1e79dfd7f6
rm shamir from user
2024-07-11 12:34:02 +02:00
Sosthene
28d4ad8d50
Move all the web part out
2024-07-11 12:32:48 +02:00
Sosthene
42a7848025
[bug] push fully formed message in ws queue
2024-07-01 10:26:43 +02:00
ank
9adafc1212
Variabilize ws url
2024-06-22 18:12:28 +00:00
Sosthene
1f689d33c3
conform service.ts to new message format
2024-05-28 11:51:50 +02:00
Sosthene
cca4e742c0
websocket check for error message
2024-05-28 11:43:57 +02:00
Sosthene
bc6f95a98f
Message processing heavy refactoring
2024-05-28 11:43:57 +02:00
Sosthene
30c3ec9673
obtainTokenWithFaucet slight improvement
2024-05-28 11:43:57 +02:00
Sosthene
a251458f04
services various improvements
2024-05-28 11:43:57 +02:00
Sosthene
2f4cd4fb9b
Reformat websocket message parsing
2024-05-28 11:43:57 +02:00
Sosthene
29c1db5869
database add rmObject
2024-05-28 11:43:57 +02:00
Sosthene
0f7bc644c8
Heavy refactor of the caching and message structure
2024-05-28 11:43:56 +02:00
Sosthene
fcafcff69e
Return transaction to confirm identity
2024-05-28 11:43:31 +02:00
Sosthene
bcabeb9a0f
Add the sender address in message
2024-05-28 11:41:22 +02:00
Sosthene
870fdc831f
Send and receive messages
2024-05-28 11:41:22 +02:00
Sosthene
fcdfeeaecc
WIP
2024-04-30 11:21:21 +02:00
Sosthene00
5cddf0566a
WIP
2024-04-19 00:23:09 +02:00
Sosthene00
c57330d389
Hide our_address
2024-04-19 00:20:34 +02:00
Sosthene00
0f185c693f
fix update outputs for user
2024-04-18 00:35:16 +02:00
Sosthene00
8f6918748d
add notify address for message
2024-04-17 09:17:13 +02:00
Sosthene00
a6f4a5122c
update user outputs
2024-04-17 09:17:13 +02:00
Sosthene00
3330baefc1
Add send message screen
2024-04-17 09:17:13 +02:00
Sosthene00
51465902bd
update create id
2024-04-17 09:17:13 +02:00
Sosthene00
8e60ec6ef0
recover
2024-04-17 09:17:13 +02:00
Sosthene00
18f159696b
fix image download
2024-04-17 09:17:13 +02:00
Sosthene00
d6a473f6e9
fix indexeddb
2024-04-17 09:17:13 +02:00
Sosthene00
8fb517c107
Update faucet
2024-04-17 09:17:13 +02:00
Sosthene00
0d42c289cb
mv html to ts, update process acquisition
2024-04-17 08:59:52 +02:00
Sosthene00
9657be4959
add data to image
2024-04-09 13:25:23 +02:00
Sosthene00
750bf69aa5
Refactoring
2024-04-09 13:25:20 +02:00
Sosthene00
741b303348
connect on startup
2024-04-08 18:34:53 +02:00
Sosthene00
6128f826b1
Add websockets.ts
2024-04-05 10:19:15 +02:00
franck
47c356a22f
Fix updatanid display
2024-04-05 09:08:29 +02:00
franck
c239cfec62
fix recover <=> creatid switch
2024-04-04 11:49:16 +02:00
franck
e5f7339ff8
Modify to add process in indexedDB.
2024-04-03 11:35:40 +02:00
Sosthene00
c209bee651
Integrate process wasm/ts
2024-04-03 10:02:05 +02:00
franck
d5a1dc5ddf
add recover page, change this. to Services.instance.
2024-04-02 09:40:08 +02:00
franck
7eb1ee9c1d
Modify revoke page and service to download revoke image
2024-04-01 22:35:26 +02:00
Sosthene00
f2bb938fa4
Fix struct name
2024-03-29 20:08:46 +01:00
Sosthene00
98e94799ef
Create new user and write indexedDB
2024-03-29 12:57:41 +01:00
franck
744f792b97
Ajout mock liste des membres d'un process
2024-03-26 15:23:48 +01:00
franck
09709869b2
Utilisation de create_user, suppression du bouchon processstore
2024-03-26 10:30:04 +01:00