Move OPAQUE into Iota and harden password authentication
Some checks failed
Validate authentication / Validate authentication (push) Failing after 1s
Some checks failed
Validate authentication / Validate authentication (push) Failing after 1s
This commit is contained in:
parent
e3a16be2f9
commit
fdba718306
27 changed files with 1177 additions and 134 deletions
34
.forgejo/workflows/validate.yml
Normal file
34
.forgejo/workflows/validate.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
name: Validate authentication
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
|
||||
jobs:
|
||||
authentication:
|
||||
name: Validate authentication
|
||||
runs-on: host
|
||||
steps:
|
||||
- name: Set up repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Check formatting
|
||||
run: nix develop -c cargo fmt -p iota-opaque -p omikron-connector --check
|
||||
|
||||
- name: Check OPAQUE lints
|
||||
run: nix develop -c cargo clippy -p iota-opaque --locked --all-targets --all-features -- -D warnings -W unreachable-pub
|
||||
|
||||
- name: Check connector lints
|
||||
run: nix develop -c cargo clippy -p omikron-connector --locked --all-targets --all-features
|
||||
|
||||
- name: Run authentication tests
|
||||
run: nix develop -c cargo test -p iota-opaque -p omikron-connector --locked --all-features
|
||||
|
||||
- name: Check release binaries
|
||||
run: nix develop -c cargo check -p iota -p iota-daemon -p iota-updater -p iota-installer --locked
|
||||
Loading…
Reference in a new issue