mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
CI: don't run dropbearkey for disabled types
This commit is contained in:
parent
5a07edfa2b
commit
cf7f9350b8
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -82,6 +82,7 @@ jobs:
|
|||||||
|
|
||||||
- name: most options disabled
|
- name: most options disabled
|
||||||
configure_flags: --disable-harden --disable-zlib --disable-openpty --disable-lastlog
|
configure_flags: --disable-harden --disable-zlib --disable-openpty --disable-lastlog
|
||||||
|
sanitykey: no
|
||||||
localoptions: |
|
localoptions: |
|
||||||
#define DROPBEAR_RSA 0
|
#define DROPBEAR_RSA 0
|
||||||
#define INETD_MODE 0
|
#define INETD_MODE 0
|
||||||
@ -234,16 +235,22 @@ jobs:
|
|||||||
|
|
||||||
# Sanity check that the binary runs
|
# Sanity check that the binary runs
|
||||||
- name: genrsa
|
- name: genrsa
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t rsa -f testrsa
|
run: ~/inst/bin/dropbearkey -t rsa -f testrsa
|
||||||
- name: gendss
|
- name: gendss
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t dss -f testdss
|
run: ~/inst/bin/dropbearkey -t dss -f testdss
|
||||||
- name: genecdsa256
|
- name: genecdsa256
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
|
run: ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
|
||||||
- name: genecdsa384
|
- name: genecdsa384
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
|
run: ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
|
||||||
- name: genecdsa521
|
- name: genecdsa521
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
|
run: ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
|
||||||
- name: gened25519
|
- name: gened25519
|
||||||
|
if: ${{ matrix.sanitykey != 'no' }}
|
||||||
run: ~/inst/bin/dropbearkey -t ed25519 -f tested25519
|
run: ~/inst/bin/dropbearkey -t ed25519 -f tested25519
|
||||||
|
|
||||||
- name: fuzz
|
- name: fuzz
|
||||||
|
Loading…
Reference in New Issue
Block a user