Commit graph

10340 commits

Author SHA1 Message Date
bunnie
bf15d7c803
Merge branch 'main' into refactor-sha2 2024-02-01 01:46:31 +08:00
bunnie
4f422ed0f7 bump release notes 2024-02-01 01:45:44 +08:00
bunnie
40423f9448 fix hosted and renode modes 2024-02-01 01:42:18 +08:00
bunnie
2f66801806 lock in our references to the web based versions of sha 2024-02-01 01:14:34 +08:00
bunnie
bf12579c55 remove engine-sha512
it has now been merged into our fork of the hashes directory...
2024-02-01 01:13:24 +08:00
bunnie
d33f7e8cd1 point to the online versions of the sha branches 2024-02-01 01:12:59 +08:00
bunnie
3598cff50b de-select the testing package for sha 2024-02-01 01:12:48 +08:00
bunnie
0c7be94c22 re-introduce "wait for hardware" hashes for "big hashes" 2024-02-01 00:52:21 +08:00
bunnie
75506afc25 make shellchat sha tests compatible with new API
plus note latest benchmarking results
2024-02-01 00:52:04 +08:00
bunnie
886215c1b0 add --offline flag
this has become necessary because with the inclusion of a version
number in a crate name, rustc always consults the on-line index on
every build (even when it's not necessary), which can double the
build time. Using --offline reduces that thrashing.
2024-02-01 00:50:43 +08:00
bunnie
31efca3e9c add fixme notes for where the Scalar was decomposed due to hash api incompatibility 2024-01-31 04:16:05 +08:00
bunnie
ef112935a4 lockfile changes to reflect crate version upgrades 2024-01-31 04:14:42 +08:00
bunnie
4c99f6da3d patch over rootkeys issues with the new hash
- new api incantations
- KeyInit trait demotion into individual functions
- decomposition of Scalar derivations because the hasher
API changes and is no longer directly passable into Scalar
(this should probably get reverted if/when curve25519/ed25519
is bumped in API later...)
- notes about areas that should be hardware accelerated but are not
2024-01-31 04:12:54 +08:00
bunnie
9a5fac408c update pddb to use new sha api
there is one interesting thing that happens with the api
incompatibilities in that importing the KeyInit trait affects
both AES and SHA identically, so this trait now has to be imported
just at the function level instead of crate level because we don't
want it to affect both algorithms so broadly.
2024-01-31 04:11:30 +08:00
bunnie
1e8cd1edbe bump hkdf to work with newer sha api 2024-01-31 04:11:19 +08:00
bunnie
cc2c11f84c revise API on backups routine to use 0.10 2024-01-31 04:08:06 +08:00
bunnie
f7bcbbf2d0 add FIXME note so we can find this spot later 2024-01-31 04:05:33 +08:00
bunnie
370288dffa ...right, wrong hash type. no acceleration option available. 2024-01-31 04:05:03 +08:00
bunnie
ee95bc1306 specify use of sw-only hasher in bip39
the hash is tiny, hw overhead not worth it
2024-01-31 04:04:16 +08:00
bunnie
577646288a fix bip39 api changes 2024-01-31 04:02:57 +08:00
bunnie
995d5398da upgrade vault API to use latest hash/hkdf 2024-01-31 04:02:36 +08:00
bunnie
3bfcce9a06 split out sha tests and upgrade api to 0.10 in shellchat 2024-01-31 03:52:32 +08:00
bunnie
eb28893128 upgrade ecup to sha 0.10 api 2024-01-31 03:52:02 +08:00
bunnie
74266d378c the binary tools don't need the precursor target 2024-01-31 03:51:07 +08:00
bunnie
958f39f870 handle '@' version specifiers in services
this is necessary because we're going to have two versions of
sha2 in the system for a while.
2024-01-31 03:50:16 +08:00
Gianguido Sora
73d3563cb6 services/usb-device-xous: format code 2024-01-30 19:12:19 +01:00
Gianguido Sora
a64edbdf2f services/usb-device-xous: use main branch for xous-usb-hid 2024-01-30 19:05:17 +01:00
Gianguido Sora
270c471577 services/usb-device-xous: cleanup 2024-01-30 19:04:58 +01:00
Gianguido Sora
79db9702e3 Merge branch 'main' into gsora/app-hid 2024-01-30 18:49:09 +01:00
bunnie
d7d2065fd9
Merge pull request #492 from kotval/main
Fix Localization Issues
2024-01-30 01:59:30 +08:00
bunnie
b97950821a
Merge pull request #489 from betrusted-io/feature-478
Implement #478
2024-01-30 01:59:02 +08:00
bunnie
e2daf45e17 update release notes 2024-01-30 01:58:23 +08:00
kotval
b20feaa3f7
Merge pull request #2 from kotval/out_of_tree_issue
fix: don't add *EN* to en-tts locale
2024-01-29 11:57:07 -06:00
David Kotval
c4d40fbccb fix: don't add *EN* to en-tts locale 2024-01-29 11:54:42 -06:00
bunnie
eb6a9069bd lock-in the version changes in Cargo.lock 2024-01-30 01:45:01 +08:00
bunnie
d0fee65186 specify the sha2 version for the service
this is because we are keeping an older version around
for a legacy ed25519 depedency, so we have to fully
specify which sha2 we want build as our server
2024-01-30 01:44:18 +08: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
bunnie
42897e4fa0 point the sha2 patch to the new source
this sets up ... all the rest of the drama to come in this PR.
2024-01-30 01:41:34 +08:00
kotval
fe5a93744f
Merge pull request #1 from kotval/out_of_tree_issue
Localization Issues
2024-01-29 10:44:35 -06:00
bunnie
f008520f06
Merge pull request #490 from betrusted-io/fix-default-font
fix default font settings
2024-01-30 00:05:11 +08:00
bunnie
fdf10f369e fix default font settings
there's something....weird....going on in the initializers
here and ... something about configurations not being
applicable to expressions??

i'm a little confused, but, the original work-around I had to
this isuse somehow side-effected things in some way that I didn't
expect. this reverts those side effects.
2024-01-30 00:02:42 +08:00
bunnie
f162555ac3 register a listener for U2F events plugged into autobacklight
this should cause the backlight to turn on anytime there is
an incoming U2F packet, allowing a user to read the screen
and see what they are trying to allow for authentication even
in a dark room.
2024-01-29 23:15:34 +08:00
bunnie
b2208850b2 add a U2F USB event observer hook to the USB stack
the intent of this is to send a message to listeners that
want to be aware of the fact that a U2F packet has arrived.
2024-01-29 23:14:44 +08:00
bunnie
795738a2f2
Merge pull request #488 from betrusted-io/gfx-target
Chore: Fix build config issues and clean up warning
2024-01-29 03:51:02 +08:00
bunnie
64f8285239 cleanup warning 2024-01-29 03:49:33 +08:00
bunnie
d0bf87d2e7 remove default feature that was used for configuring vscode 2024-01-29 03:47:48 +08:00
bunnie
7cb07becba
Merge pull request #487 from betrusted-io/gfx-target
Cramium gfx target
2024-01-29 03:42:22 +08:00
bunnie
c42ac08be6 bump lockfile to include graphics-server in cramium test target 2024-01-29 03:39:34 +08:00
bunnie
fb7fccce6b susres not yet active in cramium target, make opcode conditional 2024-01-29 03:39:11 +08:00
bunnie
d58ef8c1df improve debug output on graphics-server 2024-01-29 03:38:43 +08:00