bunnie
5fb368ae05
partial progress on porting to ring-0.17
2024-02-09 17:18:41 +08:00
bunnie
711f0eeee2
cleanup some rand dependencies that were lagging/inconsistent
2024-02-08 14:22:26 +08:00
bunnie
65fd32e181
update chrono pins
...
This is the weirdest damn thing. All the crates say 0.4.19 as
the chrono version, but the actual version in the lockfile
is 0.4.33. And there isn't an error about it?
Anyways, this update the pins to reflect what's in the lockfile.
2024-02-08 13:51:30 +08:00
bunnie
fb68eb9dd2
cleanup datetime API deprecation warnings
2024-02-08 13:46:24 +08:00
bunnie
699004e7b0
bump xous pins
2024-02-06 14:49:10 +08:00
bunnie
053c55c254
CHORE reformat PR
...
I...could swear there was no merge warning when I clicked merge.
why is this failing to check now?
2024-02-01 13:47:13 +08:00
bunnie
92e501ec01
harmonize around a single xous-usb-hid spec
...
otherwise we get weird conflicts on builds
2024-02-01 13:41:49 +08:00
bunnie
71d38008b8
Merge pull request #494 from gsora/gsora/app-hid
...
services/usb-device-xous: generic USB HID framework
2024-02-01 13:11:41 +08:00
bunnie
bf15d7c803
Merge branch 'main' into refactor-sha2
2024-02-01 01:46:31 +08:00
bunnie
40423f9448
fix hosted and renode modes
2024-02-01 01:42:18 +08:00
bunnie
995d5398da
upgrade vault API to use latest hash/hkdf
2024-01-31 04:02:36 +08:00
Gianguido Sora
79db9702e3
Merge branch 'main' into gsora/app-hid
2024-01-30 18:49:09 +01:00
David Kotval
c4d40fbccb
fix: don't add *EN* to en-tts locale
2024-01-29 11:54:42 -06:00
bunnie
55d88587a9
upgrade all the subordinate Cargo.toml files to match the patch
...
looks like about 9 crates will be affected by this. Point them
all to the latest version of the API, and specify the
"precursor" feature (which activates our patch)
2024-01-30 01:43:09 +08:00
David Kotval
701e5b46fe
feat: fill app manifest with English stubs
2024-01-24 16:45:46 +00:00
bunnie
659796916a
chore: cleanup typos in docs, comments
2024-01-15 02:16:43 +08:00
bunnie
c411ee881a
vaultbackup-rs is not part of workspace but still needs formatting...
2024-01-15 01:03:45 +08:00
bunnie
01fe4700d2
another difference between --check and fmt runs
2024-01-15 01:02:20 +08:00
bunnie
710da30952
inconsistencies in cargo fmt
...
running `cargo +nightly fmt -p app-loader` gives you one result.
running `cargo +nightly fmt --check` gives you another result.
manually opening and saving the files causes a result to agree
with the check.
2024-01-15 00:59:23 +08:00
bunnie
e274fa8873
relate perlib to the libs/ directory
...
perflib was made before we had libs, so put it into its new, proper
home.
2024-01-15 00:52:43 +08:00
bunnie
536ad89010
format apps/mtxcli
...
somehow, this was missed.
2024-01-15 00:46:06 +08:00
bunnie
0267a56989
format Cargo.tomls
...
because apparently cargo fmt doesn't format Cargo.toml files???
2024-01-15 00:14:39 +08:00
bunnie
9f5a5d0ada
rustfmt vs rustc linter: FIGHT
...
rustfmt shortened some blocks to be one-liners.
the blocks ensure the contents have Drop called on them.
the linter hates the braces, saying they are unused.
Perhaps, in fact, the contents don't need Drop called
on them exactly at that time because there isn't a conflicting
statement elsewhere in the block that uses it. It *might*
be right.
But then, later on, when you write some code that assumes
that implicit Drop happened, guess what. You'll spend hours
scratching your head as to what went wrong.
I just stuck a comment in the block to keep rustfmt from
thinking it should format that block.
2024-01-14 23:34:07 +08:00
bunnie
454ecac95a
fix rustfmt::skip warning
...
turns out, stackoverflow has out of date info. woohoo!
2024-01-14 23:12:52 +08:00
bunnie
70340eb7bf
format apps/vault
...
just our own code is formatted, vendored in files are skipped.
2024-01-14 19:09:53 +08:00
bunnie
3d1f5b032f
skip formatting of vendored files
...
this will help make merges/patches easier against OpenSK
2024-01-14 19:09:19 +08:00
bunnie
19ebae2715
format apps/transientdisk
2024-01-14 18:56:19 +08:00
bunnie
d3eb53ba89
format apps/repl
2024-01-14 18:56:07 +08:00
bunnie
fb463786fe
format apps/mtxchat
2024-01-14 18:55:57 +08:00
bunnie
7e794b3c52
format apps/hello
2024-01-14 18:55:47 +08:00
bunnie
b479d56c10
format apps/chat-test
2024-01-14 18:55:35 +08:00
bunnie
145e156fe6
format apps/ball
2024-01-14 18:55:19 +08:00
bunnie
faafa9078b
format app-loader
2024-01-14 18:54:13 +08:00
Gianguido Sora
59837474cc
apps/hidv2: don't print the whole report on logs
2024-01-09 12:21:06 +01:00
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
Gianguido Sora
b62912914b
apps: add hidv2 demo app
2023-12-26 18:35:30 +01: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
nworbnhoj
9de7f0545a
remove redundant rustls package from mtxchat manifest
2023-11-30 07:29:33 +11:00
bunnie
5ae064fb38
an initial test for look at post layouts
2023-11-28 17:52:52 +08:00
bunnie
60db6053bc
add a feature for testing the UI on mtxchat
...
when `test-chat-ui` is selected as a feature and mtxchat is selected as
an app to build, this will override the mainloop of the `mtxchat` app
and create a test dialog & present it, laying a framework for controlled
debugging of the layout engine.
2023-11-28 17:25:27 +08:00
bunnie
367ede62b1
convert usbd-human-interface-device to xous-usb-hid
2023-11-16 17:27:00 +08:00
bunnie
4d949d153b
Add option to generat number-only passwords ( #446 )
...
This commit adds explicit selection knobs for all possible
types of characters and symbols.
A side effect is there is also now an error loop to handle the
case that none of the knobs are selected. The user cannot
proceed with generation until at least one type is selected.
When no alphabetic characters are selected, "exclude similar" is
now false, which allows all of the numbers to be picked from.
Normally, 1, 0, etc. are avoided to make it easier for humans
to read/copy the passwords without ambiguity. This does reduce
the total entropy slightly, but ideally you are using the
password generator with a long setting (20 or so characters)
so you're well beyond the worry of losing entropy due to dropping
the few similar characters.
2023-11-15 19:14:08 +08:00
bunnie
063800a894
Merge pull request #447 from nworbnhoj/sigchat
...
Sigchat skeleton
2023-11-14 15:49:23 +08:00
bunnie
419e547641
bump usbd-hid-device crate to latest
...
API changes to see if we want to absorb this prior to forking.
2023-11-12 00:02:07 +08:00
nworbnhoj
3a5f2e9fc0
refactor Account.number
2023-11-06 12:24:40 +13:00
nworbnhoj
1cbe0c7488
refactor Manager.account
2023-11-06 09:28:13 +13:00
bunnie
d4624124c9
Merge pull request #443 from betrusted-io/chat-status
...
WIP: Chat status
2023-11-03 13:54:34 +08:00
bunnie
6ab88117f6
bump xous-api-log version & fix version pins
2023-10-31 20:07:28 +08:00
bunnie
f1cd3a4325
Merge pull request #439 from vihaanjim/main
...
An App Loader
2023-10-31 19:56:45 +08:00
bunnie
bd8537f874
update README to note the need for the unsafe-app-loading feature
2023-10-31 00:19:05 +08:00
bunnie
57c00987b8
cleanup formatting; terminate process on panic; add missing unsafe{}
...
this is some general clean-up on the code to get it in line with
the rest of the guidelines in the system + addresses some of @xobs
comments.
2023-10-30 23:58:40 +08:00
bunnie
d4a934785b
re-introduce a default text to display when going out of busy state
...
this simplifies the problem of tracking concurrency if multiple threads
are requesting a busy-state to be presented. In this case, when the
final thread leaves its busy state, the idle-state will be shown.
2023-10-29 20:07:22 +08:00