Francois Perrad
01415ef826
const parameter mp_int
2022-12-22 10:19:54 +01:00
Matt Johnston
6fa49f98c5
Merge pull request #201 from mkj/test-pty-gid
...
Allow users's own gid in pty permission check
2022-12-12 22:34:06 +08:00
Matt Johnston
8607215588
Allow users's own gid in pty permission check
...
This allows non-root Dropbear to work even without devpts gid=5 mount
option on Linux.
2022-12-07 13:04:10 +08:00
Matt Johnston
c043efb47c
Fix so DROPBEAR_DSS is only forced for fuzzing
...
Regression from 787391ea3b
,
was missing fuzzing conditional
2022-12-06 22:34:11 +08:00
Matt Johnston
ec2215726c
Fix y2038 issues with time_t conversion
...
These changes were identified by building with and without
-D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
on 32-bit arm, logging warnings to files.
-Wconversion was added to CFLAGS in both builds.
Then a "diff -I Wconversion log1 log2" shows new warnings that appear
with the 64-bit time_t. There are a few false positives that have been
fixed for quietness.
struct logininfo and struct wtmp are still problematic, those will
need to be handled by libc.
2022-12-01 13:40:13 +08:00
Matt Johnston
bd94cb712c
Another attempt to make CI work
2022-11-28 21:40:09 +08:00
Matt Johnston
cf7f9350b8
CI: don't run dropbearkey for disabled types
2022-11-28 21:32:10 +08:00
Matt Johnston
5a07edfa2b
Actually disable werror, and more --disable flags
2022-11-28 21:29:36 +08:00
Matt Johnston
a7659fb581
No werror for options disabled CI
2022-11-28 21:24:53 +08:00
Matt Johnston
1034024029
Add CI for disabled options
2022-11-28 21:20:44 +08:00
Matt Johnston
36a0313263
Add #if DROPBEAR_RSA guards
...
Fixes building with DROPBEAR_RSA disabled.
Closes #197
2022-11-28 21:12:23 +08:00
Matt Johnston
a4689e25ec
Update config.guess and config.sub
...
Updated to 2022-09-17 with
wget -O config.guess 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD '
wget -O config.sub 'https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD '
2022-11-14 11:15:12 +08:00
Matt Johnston
e360dffff2
Fix typo for LTM_CFLAGS
2022-11-14 10:55:44 +08:00
Matt Johnston
5a3bc9fa9c
Update version to 2022.83, finish CHANGES
2022-11-14 10:37:15 +08:00
Matt Johnston
aa6559db66
Add a single DROPBEAR_SK_KEYS config option
...
Replaces DROPBEAR_SK_ECDSA and DROPBEAR_SK_ED25519
2022-11-11 16:23:07 +08:00
Matt Johnston
b2b94acc97
Better docs for DisableTrivialAuth
2022-11-11 11:25:50 +08:00
Matt Johnston
960d374e65
Fix test for !DROPBEAR_DSS
...
Fixes: 0e70732
("Use faster primality testing in libtomcrypt")
2022-11-10 18:54:16 +08:00
Matt Johnston
fd234018a4
Add draft CHANGES
2022-11-10 18:39:08 +08:00
Matt Johnston
54a90ddac5
Add LTM_CFLAGS configure argument
2022-11-10 17:39:27 +08:00
Matt Johnston
cda8070898
Remove hmac-md5 entirely
2022-11-10 17:10:16 +08:00
Matt Johnston
b5e941c0b1
Revert "Add CI build with more options enabled"
...
This reverts commit e85f329e5c
.
I'd forgotten there's already the automatic "nondefault options"
2022-11-10 16:59:11 +08:00
Matt Johnston
e87a222ce7
Avoid hitting dropbear_lint.sh
2022-11-10 16:57:28 +08:00
Matt Johnston
e85f329e5c
Add CI build with more options enabled
2022-11-10 16:54:12 +08:00
Matt Johnston
1d22801101
Fix accientally removed variable for DSS
2022-11-10 16:52:42 +08:00
Matt Johnston
787391ea3b
Force DROPBEAR_DSS when fuzzing
2022-11-10 14:49:26 +08:00
Matt Johnston
c9a16e661a
Enable DSS in CI so the tests still work
2022-11-10 14:44:54 +08:00
Matt Johnston
b966cce3ae
Fix warnings when DROPBEAR_DSS is disabled
2022-11-10 14:37:44 +08:00
Matt Johnston
e5e6b6c1b8
Add DROPBEAR_RSA_SHA1 as a visible config option
2022-11-10 14:29:08 +08:00
Matt Johnston
c29c4e1024
Disable DSS by default
2022-11-10 14:28:43 +08:00
Matt Johnston
1cdd95f997
Fix dropbearkey to disallow 512 bit keys
...
The key loading code rejected <1024 bit keys already
2022-11-10 13:20:09 +08:00
Matt Johnston
86ac8411a0
Add manpage entry for -z, change help text
...
Fixes #193 on github (with previous patch)
2022-11-10 12:26:25 +08:00
Petr Štetiar
2864c3d154
Make IP Type-Of-Service feature optional
...
Add new -z commandline option which when set, disables new IP TOS
feature.
References: https://github.com/openwrt/openwrt/issues/10405
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-11-10 11:58:43 +08:00
Matt Johnston
0e70732e1e
Use faster primality testing in libtomcrypt
...
This can only be used if DSS is disabled
2022-11-10 11:52:55 +08:00
Matt Johnston
cdaf52aead
Update github builders to ubuntu 22.04 default
2022-11-10 11:16:19 +08:00
Matt Johnston
cdc83ad98a
Update github action to macos-12
...
10.15 is being removed on github soon
2022-11-10 11:13:00 +08:00
Matt Johnston
80fa169cb9
Move ./configure CFLAGS to the end of the list
...
This allows overriding configure-script provided arguments
such as -Wundef with the user provided CFLAGS
2022-11-10 11:08:26 +08:00
Matt Johnston
50a07a4889
Just disable -Wundef for macos runners instead
...
The previous change to set TARGET_OS_EMBEDDED=0 didn't work
for libtommath which doesn't include Dropbear headers
2022-11-10 10:53:59 +08:00
Matt Johnston
dacc10a8cf
Work around macos broken TARGET_OS_EMBEDDED
...
Their headers test TARGET_OS_EMBEDDED without
testing if it's defined which breaks Wundef.
Might be fixed in more recent macos, but it broke the github action.
2022-11-10 10:45:32 +08:00
Matt Johnston
0058cc69c8
Update autoconf workflow to Ubuntu 22.04
...
This should let it succeed with autoconf 2.71
2022-11-10 10:29:03 +08:00
Matt Johnston
963b9eafaa
Add -Wundef and fix missing definitions
2022-11-10 10:19:12 +08:00
Matt Johnston
7c9bd09af6
Fix typo in DROPEAR_DSS
...
Fixes #195 issue in github
2022-11-10 10:18:19 +08:00
Matt Johnston
72b28448a1
Fix missing end quote in comment example
2022-11-10 10:07:41 +08:00
Matt Johnston
dc3c1a30cf
Allow overriding shells for compat getusershell()
2022-11-09 18:40:10 +08:00
Matt Johnston
71d78653c7
Merge pull request #160 from Jackkal/two-factor-authentication
...
Two-factor authentication support (pubkey and password)
2022-11-09 17:33:48 +08:00
Matt Johnston
9f55ff216b
Add check for -t -s clash
...
multiauthmethod with noauthpass isn't allowed
2022-11-09 17:33:04 +08:00
Matt Johnston
b4c30b5e7e
Ignore all-zero ed25519 keys in fuzzer-verify
2022-11-09 17:00:18 +08:00
Matt Johnston
561ef41230
Merge egor-duda:sk-authkey-options
...
Github pull request #172
2022-11-09 16:14:59 +08:00
Matt Johnston
ab6ea4d697
Fix plugin argument
...
This broke in the re-exec changes, it was altering the argv
argument in-place, but argv was re-used later.
Fixes #194 github issue
2022-11-09 13:14:22 +08:00
Matt Johnston
9d320a73be
Merge remote-tracking branch 'refs/remotes/origin/master'
2022-10-31 09:51:00 +08:00
Matt Johnston
f19a0494d7
Merge pull request #190 from mgiacomoli/fix-dbclient-keyboard-interactive-login
...
Dbclient: keyboard_interactive login method never used
2022-10-27 15:52:02 +08:00