Age | Commit message (Collapse) | Author |
|
|
|
The authentication suites may be a list. Check if PSK is a part of the
list instead of checking that it is the only authentication suite.
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10518
|
|
|
|
|
|
Follow up to the follow up (87e374fd, a91180af).
Commit dfd40992 also affects ~/.ssh, so test its permissions too.
|
|
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10501
|
|
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow
openssh permission recommendations)
|
|
follow up to commit dfd40992e173 (setup-sshd, setup-user: follow
openssh permission recommendations)
|
|
From the OpenSSH man page:
> ~/.ssh/
> ...
> There is no general requirement to keep the entire contents of this
> directory secret, but the recommended permissions are
> read/write/execute for the user, and not accessible by others.
>
> ~/.ssh/authorized_keys
> ...
> This file is not highly sensitive, but the recommended permissions are
> read/write for the user, and not accessible by others.
OpenSSH follows these recommendations when creating these files itself
so we should do the same.
|
|
Be more strict in checking the contents of files by matching against the
whole line. This prevents tests from passing with extraneous leading or
trailing characters, or partial paths matching in lbu.list.
|
|
setup-alpine doesn't add root/.ssh to lbu.list. Check for
authorized_keys specifically.
|
|
|
|
consistent with other repos
|
|
add test to verify that pre/post package hooks are executed.
|
|
with and without encryption.
This also tests if sysconfdir is actually set
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/77#note_246788
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fixes commit 4ad15542bc92 (lbu: fix import of libalpine.sh for tests)
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/merge_requests/77#note_246788
|
|
|
|
Allow setting root's ssh key from answer file
Also add a test to verify that it gets included in lbu for disk install.
ref commit 619f3a2d4de9 (setup-alpine: persist root authorized_keys)
|
|
Apparently we can set ssh key via SSH_KEY env var. make sure that it
works.
|
|
|
|
The ifupdown-ng implementations are apparently just stubs.
Partially reverts commit e9c6302edf1e (setup-interface: avoid install
bridge/bonding with ifupdown-ng)
|
|
We don't need to install bridge or bonding packages with ifupdown-ng.
|
|
Don't install vlan package if ifupdown-ng package is used.
Add tests for this.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10495
|
|
test that vlan gets installed
|
|
|
|
Ask for NTP when running qemu, but without kvm-clock source
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10508
|
|
make sure that we include the home directory to created user
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517
|
|
|
|
this fixes the tests so we dont mix with the hosts network interfaces.
|
|
|
|
|
|
Make sure we dont loop forever if adduser fails to create the user.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
|
|
So we can simulate what happens when adduser fails
ref https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10519
|
|
Add a variable for user's ssh key, USERSSHKEY. We need this because the
key is space separated and we want avoid parse USEROPTS with eval to
handle quotes.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10520
|
|
test that the generated answerfile actually is interactive
|
|
|
|
We should not prompt user when -c is specified, in which case $1 is
empty.
fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|