annotate .hgignore @ 1851:7f549ee3df48

Use HOME before /etc/passwd to find id_dropbear (#137) Currently dbclient uses the value of HOME by default when looking for ~/.ssh/known_hosts, falling back to /etc/passwd if HOME is not set (so that people can work around broken values in /etc/passwd). However, when locating the default authentication key (defaults to ~/.ssh/id_dropbear), paths not starting with / are always prefixed with the value from /etc/passwd. Make the behaviour consistent by adjusting expand_homedir_path to use the value of HOME, falling back to /etc/passwd if HOME is not set.
author Matt Robinson <git@nerdoftheherd.com>
date Tue, 19 Oct 2021 06:02:47 +0100
parents 60cd5cdb165c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1838
60cd5cdb165c Update .hgignore and .gitignore with tests
Matt Johnston <matt@codeconstruct.com.au>
parents: 1348
diff changeset
1 \..*\.swp
1348
5c2899e35b63 fuzz harness
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 .*~
1838
60cd5cdb165c Update .hgignore and .gitignore with tests
Matt Johnston <matt@codeconstruct.com.au>
parents: 1348
diff changeset
3 tags
60cd5cdb165c Update .hgignore and .gitignore with tests
Matt Johnston <matt@codeconstruct.com.au>
parents: 1348
diff changeset
4 .pytest*
60cd5cdb165c Update .hgignore and .gitignore with tests
Matt Johnston <matt@codeconstruct.com.au>
parents: 1348
diff changeset
5 .*\.pyc
60cd5cdb165c Update .hgignore and .gitignore with tests
Matt Johnston <matt@codeconstruct.com.au>
parents: 1348
diff changeset
6 test/venv