]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log 
Darren Tucker  [Fri, 2 Dec 2022 00:43:36 +0000  (11:43 +1100)]  
Restore ssh-agent permissions on exit.
dtucker@openbsd.org  [Thu, 1 Dec 2022 02:22:13 +0000  (02:22  +0000)]  
upstream: Clean up ssh-add and ssh-agent logs.
OpenBSD-Regress-ID: 
9eda8e4c3714d7f943ab2e73ed58a233bd29cd2c 
dtucker@openbsd.org  [Thu, 1 Dec 2022 02:19:29 +0000  (02:19  +0000)]  
upstream: Log output of ssh-agent and ssh-add
This should  make debugging easier.
OpenBSD-Regress-ID: 
5974b02651f428d7e1079b41304c498ca7e306c8 
dtucker@openbsd.org  [Tue, 29 Nov 2022 22:41:14 +0000  (22:41 +0000)]  
upstream: Add void to client_repledge args to fix compiler warning. ok djm@
OpenBSD-Commit-ID: 
7e964a641ce4a0a0a11f047953b29929d7a4b866 
djm@openbsd.org  [Mon, 28 Nov 2022 01:38:22 +0000  (01:38  +0000)]  
upstream: tighten pledge(2) after session establishment
feedback, ok & testing in snaps deraadt@
OpenBSD-Commit-ID: 
aecf4d49d28586dfbcc74328d9333398fef9eb58 
djm@openbsd.org  [Mon, 28 Nov 2022 01:37:36 +0000  (01:37  +0000)]  
upstream: New EnableEscapeCommandline ssh_config(5) option
This option (default "no") controls whether the ~C escape is available.
Turning it off by default means we will soon be able to use a stricter
default pledge(2) in the client.
feedback deraadt@ dtucker@; tested in snaps for a while
OpenBSD-Commit-ID: 
7e277595d60acb8263118dcb66554472257b387a 
mbuhl@openbsd.org  [Fri, 18 Nov 2022 19:47:40 +0000  (19:47 +0000)]  
upstream: In channel_request_remote_forwarding the parameters for
permission_set_add are leaked as they are also duplicated in the call. Found
by CodeChecker. ok djm
OpenBSD-Commit-ID: 
4aef50fa9be7c0b138188814c8fe3dccc196f61e 
Darren Tucker  [Wed, 30 Nov 2022 00:23:11 +0000  (11:23 +1100)]  
Use -fzero-call-used-regs=used on clang 15.
clang 15 seems to have a problem with -fzero-call-used-reg=all which
causes spurious "incorrect signature" failures with 
ED25519 .  On those
versions, use -fzero-call-used-regs=used instead.  (We may add exceptions
later if specific versions prove to be OK).  Also move the GCC version
check to match.
Initial investigation by Daniel Pouzzner (douzzer at mega nu), workaround
suggested by Bill Wendling (morbo at google com).  bz#3475, ok djm@
Darren Tucker  [Mon, 28 Nov 2022 10:09:28 +0000  (21:09 +1100)]  
Skip unit tests on slow riscv64 hardware.
Darren Tucker  [Sun, 27 Nov 2022 04:26:22 +0000  (15:26 +1100)]  
Rework how selfhosted tests interact with runners.
Darren Tucker  [Sun, 27 Nov 2022 01:19:37 +0000  (12:19 +1100)]  
Run vmstartup from temp dir.
Darren Tucker  [Sun, 27 Nov 2022 01:14:00 +0000  (12:14 +1100)]  
Make "config" in matrix singular and pass in env.
Darren Tucker  [Sun, 27 Nov 2022 00:42:22 +0000  (11:42 +1100)]  
Add "libvirt" label to dfly30.
Darren Tucker  [Sat, 26 Nov 2022 22:28:20 +0000  (09:28 +1100)]  
Rename "os" in matrix to "target".
Darren Tucker  [Sat, 26 Nov 2022 22:23:04 +0000  (09:23 +1100)]  
Remove unused self-hosted test targets.
Darren Tucker  [Sat, 26 Nov 2022 22:16:15 +0000  (09:16 +1100)]  
Remove explicit "default" test config argument.
Darren Tucker  [Wed, 23 Nov 2022 02:18:54 +0000  (13:18 +1100)]  
Add fallback for old platforms w/out MAP_ANON.
Darren Tucker  [Wed, 23 Nov 2022 02:09:11 +0000  (13:09 +1100)]  
If we haven't found it yet, recheck for sys/stat.h.
Darren Tucker  [Fri, 11 Nov 2022 00:25:37 +0000  (11:25 +1100)]  
Add dfly62 test target.
dtucker@openbsd.org  [Thu, 10 Nov 2022 23:03:10 +0000  (23:03 +0000)]  
upstream: Handle dynamic remote port forwarding in escape commandline's
-R processing. bz#3499, ok djm@
OpenBSD-Commit-ID: 
194ee4cfe7ed0e2b8ad0727f493c798a50454208 
Darren Tucker  [Thu, 10 Nov 2022 01:44:51 +0000  (12:44 +1100)]  
Remove seed passing over reexec.
Darren Tucker  [Wed, 9 Nov 2022 09:59:20 +0000  (20:59 +1100)]  
Skip reexec test on OpenSSL 1.1.1 specifically.
dtucker@openbsd.org  [Wed, 9 Nov 2022 09:04:12 +0000  (09:04 +0000)]  
upstream: Fix typo in fatal error message.
Patch from vapier at chromium.org.
OpenBSD-Commit-ID: 
8a0c164a6a25eef0eedfc30df95bfa27644e35cf 
dtucker@openbsd.org  [Wed, 9 Nov 2022 09:01:52 +0000  (09:01 +0000)]  
upstream: Remove errant colon and simplify format
string in error messages. Patch from vapier at chromium.org.
OpenBSD-Commit-ID: 
fc28466ebc7b74e0072331947a89bdd239c160d3 
djm@openbsd.org  [Wed, 9 Nov 2022 01:37:44 +0000  (01:37  +0000)]  
upstream: rename client_global_hostkeys_private_confirm() to
client_global_hostkeys_prove_confirm(), as it handles the
"hostkeys-prove00@openssh.com" message; no functional change
OpenBSD-Commit-ID: 
31e09bd3cca6eed26855b88fb8beed18e9bd026d 
djm@openbsd.org  [Wed, 9 Nov 2022 00:15:59 +0000  (00:15  +0000)]  
upstream: typo in comment
OpenBSD-Commit-ID: 
39c58f41e0f32d1ff31731fa6f5bbbc3ad25084a 
Darren Tucker  [Tue, 8 Nov 2022 22:23:47 +0000  (09:23 +1100)]  
Defer seed_rng until after closefrom call.
Darren Tucker  [Tue, 8 Nov 2022 21:27:47 +0000  (08:27 +1100)]  
Fix comment text.  From emaste at freebsd.org.
Pierre Ossman  [Wed, 6 Jul 2022 11:52:10 +0000  (13:52 +0200)]  
Avoid assuming layout of fd_set
Darren Tucker  [Tue, 8 Nov 2022 01:42:52 +0000  (12:42 +1100)]  
Shutdown any VM before trying to check out repo.
Darren Tucker  [Tue, 8 Nov 2022 00:33:25 +0000  (11:33 +1100)]  
Run vm startup and shutdown from runner temp dir.
Darren Tucker  [Tue, 8 Nov 2022 00:03:31 +0000  (11:03 +1100)]  
Add valrind-5 test here too.
Darren Tucker  [Mon, 7 Nov 2022 22:21:10 +0000  (09:21 +1100)]  
Update checkout and upload actions.
Darren Tucker  [Mon, 7 Nov 2022 22:17:04 +0000  (09:17 +1100)]  
Split out rekey test since it runs the longest.
dtucker@openbsd.org  [Mon, 7 Nov 2022 10:09:28 +0000  (10:09 +0000)]  
upstream: The IdentityFile option in ssh_config can also be used to
specify a public key file, as documented in ssh.1 for the -i option. Document
this also for IdentityFile in ssh_config.5, for documentation completeness.
From laalsaas at systemli.org via portable github PR#352, ok jmc@ djm@
OpenBSD-Commit-ID: 
2f943be9f96e60ef81a9a4faa25b009999f9883b 
dtucker@openbsd.org  [Mon, 7 Nov 2022 10:05:38 +0000  (10:05 +0000)]  
upstream: Remove some set but otherwise unused variables, spotted
in -portable by clang 16's -Wunused-but-set-variable.  ok djm@
OpenBSD-Commit-ID: 
3d943ddf2369b38fbf89f5f19728e7dc1daf3982 
dtucker@openbsd.org  [Mon, 7 Nov 2022 10:02:59 +0000  (10:02 +0000)]  
upstream: Check for and disallow MaxStartups values less than or
equal to zero during config parsing, rather than faling later at runtime.
bz#3489, ok djm@
OpenBSD-Commit-ID: 
d79c2b7a8601eb9be493629a91245d761154308b 
djm@openbsd.org  [Mon, 7 Nov 2022 04:04:40 +0000  (04:04  +0000)]  
upstream: fix parsing of hex cert expiry time; was checking whether the
start time began with "0x", not the expiry time.
from Ed Maste
OpenBSD-Commit-ID: 
6269242c3e1a130b47c92cfca4d661df15f05739 
Darren Tucker  [Mon, 7 Nov 2022 04:10:59 +0000  (15:10 +1100)]  
Fix merge conflict.
Darren Tucker  [Mon, 7 Nov 2022 04:04:33 +0000  (15:04 +1100)]  
Branch-specific links for master status badges.
Darren Tucker  [Mon, 7 Nov 2022 03:46:38 +0000  (14:46 +1100)]  
Add CIFuzz status badge.
Darren Tucker  [Mon, 7 Nov 2022 03:45:16 +0000  (14:45 +1100)]  
Do not run CIFuzz on selfhosted tree.
Darren Tucker  [Mon, 7 Nov 2022 03:41:58 +0000  (14:41 +1100)]  
Whitespace change to trigger CIFuzz workflow.
Darren Tucker  [Mon, 7 Nov 2022 03:34:04 +0000  (14:34 +1100)]  
Run cifuzz workflow on the actions as regular CI.
David Korczynski  [Tue, 30 Nov 2021 11:45:20 +0000  (11:45 +0000)]  
Add CIFuzz integration
dtucker@openbsd.org  [Mon, 7 Nov 2022 02:21:22 +0000  (02:21  +0000)]  
upstream: Import regenerated moduli.
OpenBSD-Commit-ID: 
b0e54ee4d703bd6929bbc624068666a7a42ecb1f 
dtucker@openbsd.org  [Mon, 7 Nov 2022 01:53:01 +0000  (01:53  +0000)]  
upstream: Fix typo. From pablomh via -portable github PR#344.
OpenBSD-Commit-ID: 
d056ee2e73691dc3ecdb44a6de68e6b88cd93827 
Darren Tucker  [Mon, 7 Nov 2022 01:46:58 +0000  (12:46 +1100)]  
Link to branch-specific queries for V_9_1 status.
Darren Tucker  [Sat, 5 Nov 2022 23:55:59 +0000  (10:55 +1100)]  
Use "prohibit-password" in -portable comments.
Darren Tucker  [Sat, 5 Nov 2022 23:50:01 +0000  (10:50 +1100)]  
Fix tracing disable on FreeBSD.
Darren Tucker  [Sun, 6 Nov 2022 23:39:01 +0000  (10:39 +1100)]  
Fix setres*id checks to work with clang-16.
Sam James  [Sun, 6 Nov 2022 04:52:38 +0000  (04:52  +0000)]  
configure.ac: Fix -Wstrict-prototypesSigned-off-by: Sam James <sam@gentoo.org> 
Sam James  [Sun, 6 Nov 2022 04:47:35 +0000  (04:47  +0000)]  
configure.ac: Add <pty.h> include for openpty
Another Clang 16ish fix (which makes -Wimplicit-function-declaration
an error by default).  github PR#355.
See: 
2efd71da49b9cfeab7987058cf5919e473ff466b 
See: 
be197635329feb839865fdc738e34e24afd1fca8 
Rochdi Nassah  [Fri, 28 Oct 2022 00:26:31 +0000  (01:26  +0100)]  
Fix broken zlib link.
Darren Tucker  [Fri, 4 Nov 2022 05:59:26 +0000  (16:59 +1100)]  
Don't run openbsd-compat tests on Cygwin.
djm@openbsd.org  [Thu, 3 Nov 2022 21:59:20 +0000  (21:59 +0000)]  
upstream: replace recently-added valid_domain() check for hostnames
going to known_hosts with a more relaxed check for bad characters; previous
commit broke address literals. Reported by/feedback from florian@
OpenBSD-Commit-ID: 
10b86dc6a4b206adaa0c11b58b6d5933898d43e0 
Darren Tucker  [Thu, 3 Nov 2022 12:07:50 +0000  (23:07 +1100)]  
Rerun tests on changes to Makefile.in in any dir.
Darren Tucker  [Thu, 3 Nov 2022 12:04:08 +0000  (23:04 +1100)]  
Link libssh into compat tests.
Darren Tucker  [Thu, 3 Nov 2022 10:44:23 +0000  (21:44 +1100)]  
Fix compat regress to work with non-GNU make.
Darren Tucker  [Thu, 3 Nov 2022 02:41:16 +0000  (13:41 +1100)]  
Increase selfhosted job timeout.
Darren Tucker  [Wed, 2 Nov 2022 23:00:43 +0000  (10:00 +1100)]  
Only run opensslver tests if built with OpenSSL.
Darren Tucker  [Wed, 2 Nov 2022 03:16:04 +0000  (14:16 +1100)]  
Add tests for OpenSSL 3.0.7 and LibreSSL 3.6.1.
Darren Tucker  [Wed, 2 Nov 2022 21:17:39 +0000  (08:17 +1100)]  
Run compat regress tests too.
Darren Tucker  [Wed, 2 Nov 2022 21:14:05 +0000  (08:14 +1100)]  
Compat tests need libcrypto.
Darren Tucker  [Wed, 2 Nov 2022 17:24:39 +0000  (04:24  +1100)]  
Include time.h when defining timegm.
Darren Tucker  [Tue, 1 Nov 2022 08:10:30 +0000  (19:10 +1100)]  
Always use compat getentropy.
Darren Tucker  [Tue, 1 Nov 2022 23:51:48 +0000  (10:51 +1100)]  
Check for sockaddr_in.sin_len.
dtucker@openbsd.org  [Sun, 30 Oct 2022 18:42:07 +0000  (18:42 +0000)]  
upstream: Use variable for diff options
instead of unconditionally specifying "-rN". This will make life easier
in -portable where not all diff's understand -N.
OpenBSD-Regress-ID: 
8b8a407115546be1c6d72d350b1e4f1f960d3cd3 
Darren Tucker  [Sun, 30 Oct 2022 18:13:02 +0000  (05:13  +1100)]  
OpenSSL dev branch is 302 not 320.
djm@openbsd.org  [Fri, 28 Oct 2022 02:47:04 +0000  (02:47  +0000)]  
upstream: put sshkey_check_rsa_length() back in sshkey.c to unbreak
OPENSSL=no builds
OpenBSD-Commit-ID: 
99eec58abe382ecd14b14043b195ee1babb9cf6e 
djm@openbsd.org  [Fri, 28 Oct 2022 02:29:34 +0000  (02:29  +0000)]  
upstream: allow ssh-keyscan(1) to accept CIDR address ranges, e.g.
ssh-keyscan 192.168.0.0/24
If a CIDR range is passed, then it will be expanded to all possible
addresses in the range including the all-0s and all-1s addresses.
bz#976 feedback/ok markus@
OpenBSD-Commit-ID: 
ce6c5211f936ac0053fd4a2ddb415277931e6c4b 
Damien Miller  [Fri, 28 Oct 2022 01:54:35 +0000  (12:54 +1100)]  
fix merge botch
djm@openbsd.org  [Fri, 28 Oct 2022 00:44:44 +0000  (00:44  +0000)]  
upstream: refactor sshkey_private_deserialize
feedback/ok markus@
OpenBSD-Commit-ID: 
f5ca6932fdaf840a5e8250becb38315a29b5fc9f 
djm@openbsd.org  [Fri, 28 Oct 2022 00:44:17 +0000  (00:44  +0000)]  
upstream: refactor sshkey_private_serialize_opt()
feedback/ok markus@
OpenBSD-Commit-ID: 
61e0fe989897901294efe7c3b6d670cefaf44cbd 
djm@openbsd.org  [Fri, 28 Oct 2022 00:43:30 +0000  (00:43  +0000)]  
upstream: refactor certify
feedback/ok markus@
OpenBSD-Commit-ID: 
35d742992e223eaca3537e6fb3d3002c08eed4f6 
djm@openbsd.org  [Fri, 28 Oct 2022 00:43:08 +0000  (00:43  +0000)]  
upstream: refactor sshkey_sign() and sshkey_verify()
feedback/ok markus@
OpenBSD-Commit-ID: 
368e662c128c99d05cc043b1308d2b6c71a4d3cc 
djm@openbsd.org  [Fri, 28 Oct 2022 00:41:52 +0000  (00:41  +0000)]  
upstream: refactor sshkey_from_blob_internal()
feedback/ok markus@
OpenBSD-Commit-ID: 
1f46c0cbb8060ee9666a02749594ad6658c8e283 
djm@openbsd.org  [Fri, 28 Oct 2022 00:41:17 +0000  (00:41  +0000)]  
upstream: refactor sshkey_from_private()
feedback/ok markus@
OpenBSD-Commit-ID: 
e5dbe7a3545930c50f70ee75c867a1e08b382b53 
djm@openbsd.org  [Fri, 28 Oct 2022 00:39:29 +0000  (00:39  +0000)]  
upstream: factor out key generation
feedback/ok markus@
OpenBSD-Commit-ID: 
5b4211bff4de8d9adb84bc72857a8c42c44e7ceb 
djm@openbsd.org  [Fri, 28 Oct 2022 00:38:58 +0000  (00:38  +0000)]  
upstream: refactor and simplify sshkey_read()
feedback/ok markus@
OpenBSD-Commit-ID: 
0d93b7a56e31cd06a8bb0d2191d084ce254b0971 
djm@openbsd.org  [Fri, 28 Oct 2022 00:37:24 +0000  (00:37  +0000)]  
upstream: factor out public key serialization
feedback/ok markus@
OpenBSD-Commit-ID: 
a3570c4b97290c5662890aea7328d87f55939033 
djm@openbsd.org  [Fri, 28 Oct 2022 00:36:31 +0000  (00:36  +0000)]  
upstream: factor out sshkey_equal_public()
feedback/ok markus@
OpenBSD-Commit-ID: 
1368ba114cb37732fe6ec3d89c7e6d27ea6fdc94 
djm@openbsd.org  [Fri, 28 Oct 2022 00:35:40 +0000  (00:35  +0000)]  
upstream: begin big refactor of sshkey
Move keytype data and some of the type-specific code (allocation,
cleanup, etc) out into each key type's implementation. Subsequent
commits will move more, with the goal of having each key-*.c file
owning as much of its keytype's implementation as possible.
lots of feedback + ok markus@
OpenBSD-Commit-ID: 
0f2b4334f73914344e9e5b3d33522d41762a57ec 
djm@openbsd.org  [Mon, 24 Oct 2022 22:43:36 +0000  (22:43 +0000)]  
upstream: Be more paranoid with host/domain names coming from the
never write a name with bad characters to a known_hosts file.
reported by David Leadbeater, ok deraadt@
OpenBSD-Commit-ID: 
ba9b25fa8b5490b49398471e0c9657b0cbc7a5ad 
djm@openbsd.org  [Mon, 24 Oct 2022 21:52:50 +0000  (21:52 +0000)]  
upstream: regress test for unmatched glob characters; fails before
previous commit but passes now. bz3488; prodded by dtucker@
OpenBSD-Regress-ID: 
0cc5cc9ea4a6fd170dc61b9212f15badaafb3bbd 
djm@openbsd.org  [Mon, 24 Oct 2022 21:51:55 +0000  (21:51 +0000)]  
upstream: when scp(1) is using the SFTP protocol for transport (the
default), better match scp/rcp's handling of globs that don't match the
globbed characters but do match literally (e.g. trying to transfer
"foo.[1]").
Previously scp(1) in SFTP mode would not match these pathnames but
legacy scp/rcp mode would.
Reported by Michael Yagliyan in bz3488; ok dtucker@
OpenBSD-Commit-ID: 
d8a3773f53015ba811fddba7473769a2fd343e11 
jsg@openbsd.org  [Thu, 13 Oct 2022 09:09:28 +0000  (09:09 +0000)]  
upstream: use correct type with sizeof ok djm@
OpenBSD-Commit-ID: 
d6c882c2e8a42ff831a5b3cbc2c961ecb2dd6143 
jmc@openbsd.org  [Fri, 7 Oct 2022 06:00:58 +0000  (06:00 +0000)]  
upstream: ssh-agent.1: - use Nm not Xr for self-ref - while here,
wrap a long line
ssh-agent.c:
- add -O to usage()
OpenBSD-Commit-ID: 
855dac4695cef22e96d69c53436496bc408ca389 
djm@openbsd.org  [Fri, 7 Oct 2022 04:06:26 +0000  (04:06  +0000)]  
upstream: document "-O no-restrict-websafe"; spotted by Ross L
Richardson
OpenBSD-Commit-ID: 
fe9eaa50237693a14ebe5b5614bf32a02145fe8b 
Darren Tucker  [Mon, 17 Oct 2022 19:29:16 +0000  (06:29 +1100)]  
OpenSSL dev branch now identifies as 3.2.0.
Damien Miller  [Sun, 16 Oct 2022 22:41:47 +0000  (09:41 +1100)]  
revert 
c64b62338b4  and guard POLL* defines instead
c64b62338b4  broke OSX builds, which do have poll.h but lack ppoll(2)
Spotted by dtucker
Damien Miller  [Fri, 14 Oct 2022 03:52:22 +0000  (14:52 +1100)]  
undef _get{short,long} before redefining
Harmen Stoppels  [Thu, 13 Oct 2022 14:08:46 +0000  (16:08 +0200)]  
Fix snprintf configure test for clang 15
Damien Miller  [Mon, 10 Oct 2022 01:32:43 +0000  (12:32 +1100)]  
skip bsd-poll.h if poll.h found; ok dtucker
djm@openbsd.org  [Thu, 6 Oct 2022 22:42:37 +0000  (22:42 +0000)]  
upstream: honour user's umask if it is more restrictive then the ssh
default (022); based on patch from Alex Henrie, ok dtucker@ deraadt@
OpenBSD-Commit-ID: 
fe1b9e15fc9a4f49fc338e848ce14d8727abe82d 
Darren Tucker  [Thu, 6 Oct 2022 16:54:56 +0000  (03:54  +1100)]  
Add LibreSSL 3.6.0 to test suite.
Darren Tucker  [Thu, 6 Oct 2022 10:18:16 +0000  (21:18 +1100)]  
Add 9.1 branch to CI status page.
Darren Tucker  [Tue, 4 Oct 2022 12:20:23 +0000  (23:20 +1100)]  
Test commits to all branches of portable.
Damien Miller  [Tue, 4 Oct 2022 16:47:26 +0000  (03:47  +1100)]  
whitespace at EOL
Damien Miller  [Tue, 4 Oct 2022 16:40:01 +0000  (03:40  +1100)]  
mention libfido2 autodetection