Mercurial > dropbear
view test/Makefile.in @ 1928:333688ec53d0
Handle ecdsa-sk flags, reject no-touch
For the time being Dropbear will only allow SK auth with default
parameters, user-presence needs to be set.
In future handling of authorized_keys option "no-touch-required" can be
added.
This code would also be refactored to share between ecdsa and ed25519
once I get hardware/emulation to test ed25519.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 30 Mar 2022 21:06:15 +0800 |
parents | b550845e500b |
children |
line wrap: on
line source
srcdir=@srcdir@ SHELL=bash all: test test: venv/bin/pytest fakekey (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) ) one: venv/bin/pytest fakekey (source ./venv/bin/activate; pytest --hostkey=fakekey --dbclient=../dbclient --dropbear=../dropbear $(srcdir) -k exit) fakekey: ../dropbearkey -t ecdsa -f $@ venv/bin/pytest: $(srcdir)/requirements.txt python3 -m venv init venv ./venv/bin/pip install --upgrade pip ./venv/bin/pip install -r $(srcdir)/requirements.txt .PHONY: test