Commit Graph

12107 Commits

Author SHA1 Message Date
Tess Gauthier 24c095e785
add motw to scp and sftp (#614)
* add motw to scp and sftp

* retrigger appveyor

* fix motw for filepaths with unicode characters

* modify error handling

* add debug for appveyor

* modify motw method to use openssh method to open filestream

* fix return value for null fileStreamPath pointer

* fix spacing, comments, and failure message

* clean up mark of the web method

* incorporate MapUrlToZone for sftp & partially scp

* update scp for motw failure case

* Update contrib/win32/win32compat/misc.c

Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>

* address pr review comments

* refactor failure handling in motw methods

* add CoUnitialize after CoInitializeEx call

* use urlmon.h constants for com instance

* update var name for consistency

Co-authored-by: Paul Higinbotham <paulhi@microsoft.com>
2022-09-08 11:55:10 -04:00
Bryan Berns ec26bbe178
Addressed PKCS ECC loading Issue (#611) 2022-08-05 16:22:28 -07:00
Paul Higinbotham 52f8ba1c14
Merge pull request #615 from PaulHigin/fix-testhelper
Fix sshd executable name and resolve source path.
2022-08-03 09:31:07 -07:00
Tess Gauthier 04dd589b95
fix debug exception with static method (#607) 2022-08-03 10:42:55 -04:00
PaulHigin 0fd0ac6838 Fix sshd executable name and resolve source path. 2022-08-02 16:04:12 -07:00
Tess Gauthier ff6cfe6fdf
add product version runtime parameter to MSI (#603)
* add product version runtime parameter

* add comment

Co-authored-by: Steve Lee <slee@microsoft.com>

Co-authored-by: Steve Lee <slee@microsoft.com>
2022-05-04 18:13:22 -04:00
bagajjal cf06f991f9
CHROOT - fix symbolic link that refers to a network share (#596) 2022-04-15 13:49:41 -07:00
Marc-André Moreau 4833ddaeb8
fix ssh-pkcs11-client.c missing ifdef (#597) 2022-04-15 13:49:14 -07:00
Marc-André Moreau 89cec9823c
fix duplicate symbols from posix_compat, openbsd_compat with libcrypto (#593) 2022-04-08 14:03:18 -07:00
Tess Gauthier 9598cec2fc
fix install-sshd incompatability with windows pwsh 5.1 (#590) 2022-03-24 10:32:32 -07:00
bagajjal aa0d37b16e
Crank V8.9.1.0 (#588) 2022-03-22 14:45:16 -07:00
bagajjal 0bac502e32
Upgrade to V3.4.3.0 (#587) 2022-03-22 09:57:16 -07:00
Tess Gauthier 672c7eb270
Update install sshd (#585) 2022-03-21 15:02:15 -07:00
Tess Gauthier 6bd66d4685
update ssh-agent privileges to match install scripts for pkcs11/fido scenarios (#584) 2022-03-21 13:13:27 -07:00
pedro martelletto b314450fe5
skip check_sk_options() in sk_sign() when interfacing with webauthn.dll (#582) 2022-03-21 10:00:29 -07:00
bagajjal bd0d488a3c
Update MSI with ssh-sk-helper.exe, ssh-pkcs11-helper.exe, license.txt, notice.txt (#581) 2022-03-17 16:59:44 -07:00
bagajjal b90820169b
add ssh-pkcs11-helper.exe to build output, fix create_no_window for ssh-sk-helper.exe (#579) 2022-03-16 16:48:29 -07:00
Balu Gajjala 5d6a3f5641 Merge branch 'V8_9_test' into latestw_all 2022-03-15 16:31:47 -07:00
Balu Gajjala 73c976878e Crank V8.9 2022-03-15 13:13:19 -07:00
Balu Gajjala d328deb956 dummy commit to trigger ci 2022-03-12 16:40:36 -08:00
Balu Gajjala 78cf768fa9 remove unnecessary changes 2022-03-11 18:09:53 -08:00
Balu Gajjala 2771541a41 fix tests 2022-03-11 17:42:15 -08:00
Balu Gajjala affac5aedc fix tests 2022-03-11 17:15:47 -08:00
Balu Gajjala 9a8746842a Fix failed tests - 1 2022-03-11 13:53:27 -08:00
Andrew f392f20ecd
3rd party notices for releases (#575) 2022-03-08 12:42:44 -08:00
bagajjal 2d3ca752f9
V8 9 test (#574) 2022-03-07 10:48:41 -08:00
Balu Gajjala 9a85082806 V8.9 build errors, unit tests successful 2022-03-04 18:40:49 -08:00
bagajjal dcbfaa6d15
Create ssh-sk-helper.exe in user session (#573) 2022-03-04 16:59:08 -08:00
Tess Gauthier a3023c2d09
modify key event logic to fix ctrl+space not being sent (#569) 2022-03-02 10:40:36 -08:00
Andrew 4458bbc132
Merge pull request #571 from anmenaga/notice
Added NOTICE
2022-02-28 23:59:28 -08:00
unknown 346de3ea8e Added NOTICE 2022-02-28 23:58:28 -08:00
Balu Gajjala ee54e6bd06 Merge upstream V8_9 2022-02-24 16:57:16 -08:00
djm@openbsd.org 2ebf478107 upstream: free(3) wants stdlib.h
OpenBSD-Commit-ID: 227a8c70a95b4428c49e46863c9ef4bd318a3b8a
2022-02-24 08:24:35 +11:00
Damien Miller 166456ceda makedepend 2022-02-23 22:31:11 +11:00
djm@openbsd.org 32ebaa0dbc upstream: avoid integer overflow of auth attempts (harmless, caught
by monitor)

OpenBSD-Commit-ID: 488ad570b003b21e0cd9e7a00349cfc1003b4d86
2022-02-23 22:22:20 +11:00
djm@openbsd.org 6e0258c64c upstream: randomise the password used in fakepw
OpenBSD-Commit-ID: 34e159f73b1fbf0a924a9c042d8d61edde293947
2022-02-23 22:21:35 +11:00
djm@openbsd.org bf114d6f0a upstream: use asprintf to construct .rhosts paths
OpenBSD-Commit-ID: 8286e8d3d2c6ff916ff13d041d1713073f738a8b
2022-02-23 22:19:56 +11:00
djm@openbsd.org c07e154fbd upstream: openssh-8.9
OpenBSD-Commit-ID: 5c5f791c87c483cdab6d9266b43acdd9ca7bde0e
2022-02-23 22:08:26 +11:00
Darren Tucker bc16667b4a Extend select+rlimit sanbox test to include poll.
POSIX specifies that poll() shall fail if "nfds argument is greater
than {OPEN_MAX}".  The setrlimit sandbox sets this to effectively zero
so this causes poll() to fail in the preauth privsep process.

This is likely the underlying cause for the previously observed similar
behaviour of select() on plaforms where it is implement in userspace on
top of poll().
2022-02-22 15:39:37 +11:00
Darren Tucker 6520c488de Add Alpine Linux test VM. 2022-02-22 13:08:59 +11:00
Darren Tucker a4b325a3fc Include sys/param.h if present.
Needed for howmany() on MUSL systems such as Alpine.
2022-02-22 12:27:07 +11:00
Darren Tucker 5a102e9cb2 Only include sys/poll.h if we don't have poll.h.
Prevents warnings on MUSL based systems such as Alpine.
2022-02-22 12:25:52 +11:00
Damien Miller 7c0d4ce911 disable agent-restrict test on minix3
Minix seems to have a platform-wide limit on the number of
select(2) syscalls that can be concurrently issued. This test
seems to exceed this limit.

Refer to:

https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/R3.3.0/minix/servers/vfs/select.c#L114
https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/R3.3.0/minix/servers/vfs/select.c#L30-L31
2022-02-22 11:14:51 +11:00
Darren Tucker 81d33d8e3c Skip agent-getpeereid when running as root. 2022-02-21 21:27:20 +11:00
dtucker@openbsd.org fbd772570a upstream: Aproximate realpath on the expected output by deduping
leading slashes. Fixes test failure when user's home dir is / which is
possible in some portable configurations.

OpenBSD-Regress-ID: 53b8c53734f8893806961475c7106397f98d9f63
2022-02-20 15:10:19 +11:00
Darren Tucker 336685d223 Really move DSA to end of list.
In commit ad16a84e syncing from OpenBSD, RSA was accidentally moved to
the end of the list instead of DSA.  Spotted by andrew at fyfe.gb.net.
2022-02-20 13:30:52 +11:00
bagajjal 3a33ea8dee
Bagajjal/fix minor issues (#568) 2022-02-18 17:33:28 -08:00
Vivian Thiebaut f4606c802d
SCP: avoid error when file mode set to Read-Only (#566) 2022-02-18 16:39:09 -08:00
Tess Gauthier 96a3b6f802
add libcborVersion for compliance tasks (#567) 2022-02-18 11:34:51 -08:00
Vivian Thiebaut ac7bceff6f
Fix SCP stack overflow when copying over directories (#565) 2022-02-17 17:32:35 -08:00