Commit graph

6289 commits

Author SHA1 Message Date
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
bunnie
3a1a1b53d0 format xous-api-ticktimer 2024-01-14 18:51:48 +08:00
bunnie
6439ea44d3 format xous-api-susres 2024-01-14 18:51:30 +08:00
bunnie
80938fe488 format xous-api-names 2024-01-14 18:51:09 +08:00
bunnie
65aef1c886 format xous-api-log 2024-01-14 18:50:49 +08:00
bunnie
a9803af0c2
Merge pull request #477 from betrusted-io/rustfmt-proposal
RFC: proposed rustfmt settings for the project
2024-01-14 18:48:18 +08:00
bunnie
eb77e76c9f note new standards in the change log 2024-01-11 22:23:03 +08:00
bunnie
676bab899f add trailing whitespace removal to settings
also format the file, because, hey guess what...format on save
is on. :P
2024-01-11 22:22:39 +08:00
bunnie
40b4c89414 add a formatting document
this hopefully helps new users get started with formatting.

didn't want to edit the CONTRIBUTING.md file because it already
has a lot of other stuff in there not specific to formatting.
2024-01-11 22:21:50 +08:00
bunnie
d14e1b2608 another try...
maybe i'm reading the gh automation error message wrong?
2024-01-11 21:56:52 +08:00
bunnie
62a351f813 maybe this is the trick? ugh. 2024-01-11 21:52:36 +08:00
bunnie
86afec0160 fix origin statement
sorry this is all pushing to GH directly, the only way i know
how to test this is to push to the branch :P so y'all get
to see me flail.
2024-01-11 21:51:11 +08:00
bunnie
6405f91fd7 have to fetch main before we can checkout the rustfmt.toml 2024-01-11 21:49:46 +08:00
bunnie
5f0e2a48b0 cleanup missing -P specifier on grep regex
looks like the regex is perl syntax
2024-01-11 21:44:11 +08:00
bunnie
ca5845c2f6 checkout the main rustfmt.toml prior to running CI
this is necessary so that patches can't sneak through by
modifying rustfmt.toml to bypass a CI checke.
2024-01-11 21:24:14 +08:00
bunnie
da60e82584 add a proposed trailing whitespace check 2024-01-11 21:20:41 +08:00
bunnie
99a238107b add a proposed rustfmt check 2024-01-11 21:20:26 +08:00
bunnie
d510a806de cleanup build.yml action
I think we don't need to run the full rust toolchain script,
just `rustup update`?

Also update actions version for checkout and comments.
2024-01-11 21:19:41 +08:00
bunnie
958517a474 Merge branch 'main' into rustfmt-proposal 2024-01-11 21:10:23 +08:00
bunnie
59d65d6334
Update rustfmt.toml
absorb feedback on alphabetical ordering
2024-01-09 14:29:00 +08:00
bunnie
6699b9ec92 update lockfile to reflect removal of sigchat 2024-01-09 14:23:06 +08: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
bunnie
4c61d656e4 clarify role of out-of-tree apps 2024-01-09 04:13:28 +08:00
bunnie
891363147a bump release notes 2024-01-09 04:12:34 +08:00
bunnie
2d760ff364 update lockfile dependencies to accommodate sigchat PR 2024-01-09 04:12:22 +08:00
bunnie
3c3435f0dc
Merge pull request #476 from kotval/out_of_tree_app
Modify xtask to permit named BinaryFile
2024-01-09 04:08:23 +08:00
David Kotval
48d0bf4da6 chore: removed unused prototype code 2024-01-08 19:19:51 +00:00
bunnie
f196bcf469
Merge pull request #465 from nworbnhoj/sigchat
Link sigchat to existing Signal account
2024-01-08 17:23:09 +08:00
bunnie
d38d53e0d9 turns out you have to specify a toolchain
i guess we'll just let it fail when we have a breaking rust
toolchain issue? idk.
2024-01-08 16:31:30 +08:00
bunnie
43a1502de8 allow v2 signatures in restoration of backups 2024-01-08 16:21:09 +08:00
bunnie
3a108bb902 see if we can fix github actions by not specifying an explicit toolchain
we want to be building against the latest, at least for now...
2024-01-08 16:02:42 +08:00
bunnie
524c714a42 note requirement to upgrade precursorupdater 2024-01-08 15:54:28 +08:00
bunnie
368db28492 bump precursorupdater version 2024-01-08 15:54:19 +08:00
bunnie
49b3b1f5d0 allow v2 signatures on kernel 2024-01-08 15:50:44 +08:00
bunnie
0692a25323 fix cramium build targets 2024-01-08 02:33:27 +08:00
bunnie
defc4cf3c4 bump release notes 2024-01-08 02:24:13 +08:00
bunnie
0c657cffcd cleanup a hosted mode warning 2024-01-08 02:24:05 +08:00
bunnie
933666a67b add an implementation for new_with_strategy() on sha512trunc256
this is needed to unbreak hosted mode. The strategy in hosted
mode is *always* to use software as there is no hardware hashing
engine.
2024-01-08 02:23:23 +08:00
bunnie
6e65cbda2e
Merge pull request #475 from betrusted-io/prehash
Add prehash signature check and prepare for env-variable hash passing
2024-01-08 01:46:54 +08:00
bunnie
055231cb5a extract loader hash from environment
also fix region alignment bug and version code bug.

tested, now works.
2024-01-08 01:44:17 +08:00
bunnie
b87dde9208 add new signature version code to api 2024-01-08 01:44:01 +08:00
bunnie
3da1ed181e set hash default value to 0x30 ("0")
this makes it much easier to detect if a loader failed to set
a hash in other routines.
2024-01-08 00:21:06 +08:00
bunnie
7b8a598020 wire up the hash computation to the hash consumption 2024-01-08 00:17:54 +08:00