bunnie
d8542dab71
move sigchat to a new home: https://github.com/betrusted-io/sigchat
...
This allows sigchat to absorb an AGPL license and be compatible
with all the libraries it needs to work with.
https://github.com/betrusted-io/sigchat
2024-01-09 14:14:07 +08:00
nworbnhoj
364b6a5540
refine sigchat scan link qrcode instructions to better reflect Signal App
2024-01-01 05:59:01 +11:00
nworbnhoj
130f4f13f5
sigchat Account doco
2023-12-29 16:50:47 +11:00
nworbnhoj
147e60a805
add sigchat Account.link() relink validity checks
2023-12-29 16:23:36 +11:00
nworbnhoj
7eb1c07269
implement sigchat Manager Config
...
Tie the Staging Environment specifics to the Account Manager
Note sigchat is hard coded for the Staging Environment for now
2023-12-29 11:44:14 +11:00
nworbnhoj
8f2f464e17
store host in sigchat Account
2023-12-29 10:00:03 +11:00
nworbnhoj
fa66cdfc01
implement sigchat host_modal() with validation
2023-12-29 07:41:53 +11:00
nworbnhoj
7346f03c1a
close sigchat websocket properly
2023-12-28 15:27:58 +11:00
nworbnhoj
89cdbc899e
ensure that an incomplete pddb dict sigchat.account is deleted
2023-12-28 15:26:53 +11:00
nworbnhoj
3d5030f142
relocate sigchat service environment argument to lib.rs
...
temporarily default to Staging
2023-12-28 09:49:23 +11:00
nworbnhoj
59895ac525
add sigchat.status.initializing
2023-12-28 07:33:21 +11:00
nworbnhoj
146666cb0e
implement sigchat SignalWS read(timeout)
2023-12-27 19:41:17 +11:00
nworbnhoj
535ee5de11
wrap SignalWS in Arc<Mutex<ws>>
2023-12-27 19:03:29 +11:00
nworbnhoj
05c991e3a2
Merge branch 'main' into sigchat
2023-12-26 08:14:42 +11:00
nworbnhoj
84d5ff4c0c
partial implementation of sigchat Account link()
2023-12-26 07:17:20 +11:00
nworbnhoj
68b2c55460
refine sigchat Account.set() to ensure consistency between pddb & struct
2023-12-26 07:10:09 +11:00
nworbnhoj
4a824c903e
add sigchat Account fields
2023-12-26 07:08:50 +11:00
bunnie
fda782663a
bump version pins for xous change
2023-12-26 00:13:10 +08:00
nworbnhoj
5e1c6f6276
re-implement Sigchat.probe_host() using Tls.accessible()
...
now the user is only presented with the tls trust_modal when none of the required CA's are trusted
2023-12-22 14:29:06 +11:00
nworbnhoj
12c74e724f
implement Tls.inspect(host)
...
Tls.probe() now returns a Vec<Certificate> and Tls.inspect(host) presents the trust_modal to the user
2023-12-21 07:48:09 +11:00
nworbnhoj
0e1c9595e4
stub libsignal::PrimaryProvisioningCipher.decrypt()
2023-12-20 17:19:02 +11:00
nworbnhoj
2e2d536dc8
stub libsignal::ProvisioningUuid
2023-12-20 14:36:59 +11:00
nworbnhoj
8951a6d72f
stub libsignal::generate_identity_key_pair()
2023-12-20 10:02:58 +11:00
nworbnhoj
728da47c78
add sigchat Manager doco
2023-12-20 05:14:25 +11:00
nworbnhoj
3dff72b2b3
sigchat obtain device registration from Signal Provisioning server
2023-12-19 19:36:13 +11:00
nworbnhoj
36e7798d61
display sigchat device linking qr-code
2023-12-19 19:28:57 +11:00
nworbnhoj
fd5a55ccbd
sigchat obtain uuid from Signal Provisioning server
2023-12-19 19:23:12 +11:00
nworbnhoj
a8547ce51c
restructure SignalWS
2023-12-19 17:50:45 +11:00
nworbnhoj
96a59422b1
fix use Tls
2023-12-19 06:39:13 +11:00
nworbnhoj
8fddba4881
implement sigchat provisioning websocket with tungstenite
2023-12-19 05:16:59 +11:00
nworbnhoj
bcb6a8c3bf
implement tls.stream_owned()
2023-12-18 17:16:33 +11:00
nworbnhoj
b094402bf3
sigchat prepare tls connection to provisioning server
2023-12-12 06:44:02 +11:00
nworbnhoj
2be426131c
add sigchat busy status text
2023-12-11 06:21:07 +11:00
nworbnhoj
e5bb114c71
add sigchat doco
2023-12-11 06:19:36 +11:00
nworbnhoj
572dcd6bd1
implement Sigchat.account_link()
...
- create a new Account in the pddb
- create an Account Manager to coordinate the Link
- request a name for the device being linked (ie default 'xous')
- call Manager.link()
- on failure - delete the pddb Account record
2023-12-10 19:31:06 +11:00
nworbnhoj
c9e3f549a4
sigchat probe the Signal host server for tls certificates
...
- prompt the user for the Signal host server
- probe the host for the tls Certificate Authorities chain of trust
- allow the user to trust 1 or more Certificate Authorities
2023-12-10 19:02:57 +11:00
nworbnhoj
046873cec5
add status text to Sigchat::connect()
2023-12-10 06:34:08 +11:00
nworbnhoj
90aec71d33
add logging to sigchat Event::Focus
2023-12-08 05:10:14 +11:00
nworbnhoj
5be8040e00
remove redundant sigchat MenuOp::Link & MenueOp::Register
...
alternatives are presented to user as required
2023-12-08 04:30:49 +11:00
nworbnhoj
0eb1838ada
Add Sigchat.account_setup() option to abort (and read Chat Dialogue in pddb)
2023-12-07 18:36:31 +11:00
nworbnhoj
b032a80a18
refine Sigchat::connect() to link/register on first use
2023-12-07 18:33:30 +11:00
nworbnhoj
404dc29fec
include Signal registered Number in Account::read()
2023-12-07 18:13:47 +11:00
nworbnhoj
270746daf4
update sigchat readme
2023-12-07 18:10:06 +11:00
nworbnhoj
90daccea46
merge main into sigchat
2023-12-05 13:19:49 +11:00
nworbnhoj
b6c5550116
fix chat-test menu_name
2023-12-02 21:26:51 +11:00
bunnie
efb087c01a
Merge pull request #455 from betrusted-io/mtxchat-layout-tests
...
WIP: Mtxchat layout refactor
2023-12-02 16:13:04 +08:00
bunnie
7dc4b9213f
add chat-test mini-app
...
this now contains the UI tests as a stand-alone app
2023-12-02 16:09:59 +08:00
bunnie
0632e510be
remove tests from mtxchat app
2023-12-02 16:09:37 +08:00
bunnie
fa3f349a0a
bump pins as xous-rs has changed
2023-12-01 21:20:01 +08:00
bunnie
4a5bedd6ab
Merge branch 'main' of github.com:betrusted-io/xous-core into mtxchat-layout-tests
2023-11-30 14:22:15 +08:00