Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
425 commits
Select commit Hold shift + click to select a range
9e99a80
ci: bump mbedtls (#894)
vszakats Mar 28, 2023
0000568
detect and use explicit_bzero() and explicit_memset() (#895)
vszakats Mar 28, 2023
5a4d532
cmake: introduce variables for lib target names (#896)
vszakats Mar 28, 2023
da05845
wolfssl: add workaround for HMAC_Update() len arg difference (#897)
vszakats Mar 28, 2023
84f5cb9
netware: delete support (#888)
vszakats Mar 29, 2023
0b61317
tidy-up: tabs to spaces in Makefile.am [ci skip]
vszakats Mar 29, 2023
08354e0
src: fix compiler warning on Darwin (#898)
vszakats Mar 29, 2023
97417ad
ci: add VS2022 builds (incl. ARM64) to AppVeyor (#899)
vszakats Mar 29, 2023
d23133b
ci: flatten AppVeyor jobs, add debug builds (#900)
vszakats Mar 29, 2023
5012442
maketgz: tidy-up [ci skip] (#901)
vszakats Mar 30, 2023
057522b
NMakefile: merge them into a single file [ci skip] (#902)
vszakats Mar 30, 2023
46f233f
build: delete references to deleted NMake files [ci skip]
vszakats Mar 30, 2023
e195aee
GNUmakefile: adjust win32/.gitignore [ci skip]
vszakats Mar 30, 2023
bcb5eda
tidy-up: NMakefile (#903)
vszakats Mar 30, 2023
3da46f1
cmake: add missing #cmakedefines to src
vszakats Mar 31, 2023
67ac735
cmake: dedupe crypto-backend detection
vszakats Mar 31, 2023
ce26743
cmake: dedupe and merge config detection
vszakats Mar 31, 2023
ccfeac8
cmake: add missing man pages
vszakats Mar 31, 2023
9aa1964
tidy-up: whitespace, sorting, comment and naming fixups
vszakats Mar 31, 2023
91af538
.gitignore updates [ci skip]
vszakats Mar 31, 2023
d245c66
example: make `x11` exclusion build-tool-agnostic
vszakats Apr 1, 2023
0d1ef8a
win32/libssh2_config.h: set `HAVE_LONGLONG` & `HAVE_STDLIB_H` [ci skip]
vszakats Apr 1, 2023
b66d731
delete redundant `HAVE_WS2TCPIP_H`
vszakats Apr 1, 2023
618c0e6
win32/GNUmakefile: fixups to previous commit [ci skip]
vszakats Apr 1, 2023
82644b6
win32/GNUmakefile: default to WinCNG [ci skip]
vszakats Apr 1, 2023
68fd02f
win32/GNUmakefile: make it support non-Windows builds [ci skip]
vszakats Apr 1, 2023
9694871
libssh2-gnumake.sh: make variable names platform-agnostic [ci skip]
vszakats Apr 1, 2023
5bcd25c
win32/GNUmakefile: add libgcrypt support [ci skip]
vszakats Apr 1, 2023
f058f7e
win32/GNUmakefile: rename object dir and update .gitignore [ci skip]
vszakats Apr 1, 2023
6223598
NMakefile: rename config variables, default to WinCNG [ci skip]
vszakats Apr 1, 2023
ba53142
cmake: detect WinCNG last
vszakats Apr 1, 2023
eb23632
delete redundant `HAVE_WINSOCK2_H`
vszakats Apr 1, 2023
5f790d2
NMakefile: drop redundant variable and assignments [ci skip]
vszakats Apr 1, 2023
cab5991
delete redundant `HAVE_STDLIB_H`
vszakats Apr 1, 2023
06f2819
cmake: re-use existing `libssh2.pc` template
vszakats Apr 1, 2023
1b59e90
tidy-up: null-mac/cipher documentation
vszakats Apr 1, 2023
a07ba9e
autotools: delete `src/libssh2.pc.in` reference [ci skip]
vszakats Apr 2, 2023
185292a
build: make `HAVE_LIBCRYPT32` local to `wincng.c`
vszakats Apr 2, 2023
fb1195c
build: respect autotools `DLL_EXPORT` in `libssh2.h`
vszakats Apr 2, 2023
cffcae4
win32/GNUmakefile: update help & exit without crypto backend [ci skip]
vszakats Apr 2, 2023
a7a2fcd
autotools: delete unused conditional `HAVE_SYS_UN_H`
vszakats Apr 2, 2023
194cfc0
windows: move `libssh2.rc` to the `src` directory
vszakats Apr 3, 2023
d1b36ef
transport: rename local `RANDOM_PADDING` macro
vszakats Apr 3, 2023
2e3e0be
ci: add MSVS 2008/2010 build tests and fix warnings
vszakats Apr 3, 2023
ad6aae3
hostkey: fix `hash_len` field constants
vszakats Apr 3, 2023
be31457
crypto: add `LIBSSH2_NO_MD5` to disable MD5 support
vszakats Apr 3, 2023
e387311
windows: re-add `libssh2.rc`
vszakats Apr 3, 2023
1cd1aae
win32/GNUmakefile: drop an unnecessary variable [ci skip]
vszakats Apr 3, 2023
8c24a3f
win32/GNUmakefile: make it movable [ci skip]
vszakats Apr 3, 2023
202a4f3
build: MSVS warning suppression option tidy-up
vszakats Apr 4, 2023
d58b713
src: include `limits.h` for `*_MAX` macros
vszakats Apr 4, 2023
901bf00
Makefile.mk: move portable GNU Make file to the root
vszakats Apr 4, 2023
d709e3f
libssh2.h: bump LIBSSH2_COPYRIGHT year [ci skip]
vszakats Apr 4, 2023
a7d60c6
cmake: whitespace fixes [ci skip]
vszakats Apr 4, 2023
c20c81a
Configurable session read timeout (#892)
danielsilverstone-ct Apr 5, 2023
bdad217
build: add new man pages
vszakats Apr 5, 2023
85582df
crypto: fix `LIBSSH2_NO_MD5` compiler warnings
vszakats Apr 5, 2023
4048d0b
example/x11: Add null-termination (#749)
ihsinme Apr 5, 2023
2082db9
TODO: update item about compiler warnings [ci skip]
vszakats Apr 6, 2023
dfbd283
Makefile.mk: merge two rules [ci skip]
vszakats Apr 7, 2023
17a419b
NMakefile: simplify [ci skip]
vszakats Apr 7, 2023
ed72926
NMakefile: drop `/DEBUG` linker option in release mode [ci skip]
vszakats Apr 7, 2023
72cd241
test_warmup: re-implement as `test()`
vszakats Apr 7, 2023
8774f49
Makefile.mk: build tests and other improvements [ci skip]
vszakats Apr 7, 2023
59666e0
build: hand-crafted config rework & header tidy-up
vszakats Apr 7, 2023
bc0cd58
Makefile.mk: drop `PROOT` variable [ci skip]
vszakats Apr 7, 2023
dfb086b
tidy-up: indentation in guarded #includes [ci skip]
vszakats Apr 8, 2023
7e48559
tests/mansyntax.sh: avoid `if !` for portability
vszakats Apr 8, 2023
fb9f888
tidy-up: example, tests
vszakats Apr 8, 2023
279dd47
libssh2.rc: fix debug flag, other cleanups
vszakats Apr 8, 2023
ff3c774
blowfish: build improvements
vszakats Apr 8, 2023
c1ed4e9
build: make `windows.h` even leaner
vszakats Apr 9, 2023
8017592
cmake: add `HIDE_SYMBOLS` option & do symbol hiding on *nix
vszakats Apr 9, 2023
e1e78e3
sftp: always clear protocol error (#787)
Zenju Apr 9, 2023
4f0f4bf
build: unify source lists
vszakats Apr 10, 2023
38015f4
crypto: add `LIBSSH2_NO_DSA` to disable DSA support
vszakats Apr 10, 2023
c76b96c
build: support `libssh2.rc` with autotools
vszakats Apr 10, 2023
fe70669
Support for direct-streamlocal@openssh.com UNIX socket connection (#945)
vszakats Apr 10, 2023
0924632
tidy-up: misc & minor cmake MSVS fix
vszakats Apr 10, 2023
5040262
include: indentation fixes
vszakats Apr 10, 2023
e590450
man: fixups
vszakats Apr 11, 2023
fe02bd2
sftp: calculate attr size based on attr content in `sftp_open()`
vszakats Apr 11, 2023
73d95a0
build: be friendly with 3rd-party build tools
vszakats Apr 12, 2023
1ccae7d
ci: use OpenSSL 3 on AppVeyor VS2022 images
vszakats Apr 12, 2023
224fffb
include: delete leading underscore from macro name
vszakats Apr 13, 2023
ec0feae
build: speed up and extend picky compiler options
vszakats Apr 13, 2023
bf85faa
sftp: add open functions with custom attribute support
vszakats Apr 13, 2023
6dc42e9
Make OS/400 implementation work again (#953)
monnerat Apr 13, 2023
f4f5841
example/ssh2_exec: drop conditional code for deprecated API
vszakats Apr 13, 2023
d5438f4
src: fix indentation of macro definitions
vszakats Apr 13, 2023
0162d16
src: fix indentation of macro definitions (follow-up)
vszakats Apr 13, 2023
2efdb67
tidy-up: example, tests continued
vszakats Apr 14, 2023
146a25a
crypto: add `LIBSSH2_NO_HMAC_RIPEMD` option
vszakats Apr 14, 2023
8b4387d
checksrc: fix `SIZEOFNOPAREN` warnings
vszakats Apr 14, 2023
1b0c93b
checksrc: fix `NOTEQUALSZERO` warnings
vszakats Apr 14, 2023
cd5b114
Makefile.am: add new OS400 header [ci skip]
vszakats Apr 14, 2023
5d39923
checksrc: fix `EQUALSNULL` warnings
vszakats Apr 15, 2023
c627c12
tidy-up: more whitespace in src
vszakats Apr 15, 2023
bf3b44c
cmake: use a single build rule for all tests
vszakats Apr 15, 2023
31e6d95
cmake: make Windows builds initialize faster
vszakats Apr 15, 2023
0a500b3
scp: option to not quote paths (#803)
jorgensigvardsson Apr 15, 2023
f1e80d8
cmake: optimize non-blocking tests on WIN32/non-WIN32
vszakats Apr 15, 2023
78cb64a
tests: switch Dockerfile to debian:testing-slim
vszakats Apr 16, 2023
9ffbb05
src: add and use `LIBSSH2_MIN/MAX` macros
vszakats Apr 16, 2023
c9160bf
tests: try debian:testing for Dockerfile
vszakats Apr 16, 2023
5644eea
session: simplify preprocessor logic
vszakats Apr 16, 2023
819573f
tests: restore debian:bullseye in Dockerfile
vszakats Apr 16, 2023
16071c2
build: add `-Wbad-function-cast` picky warning
vszakats Apr 16, 2023
29fd14e
ssh2.sh: revert likely wrong quoting [ci skip]
vszakats Apr 16, 2023
238def4
autotools: rename a variable
vszakats Apr 16, 2023
9ecb22d
tests: build improvements and more
vszakats Apr 14, 2023
fe64bad
tests: switch to debian:bullseye-slim in Dockerfile
vszakats Apr 16, 2023
739e41b
switch to internal base64 decode that uses size_t
vszakats Apr 17, 2023
01f3fbf
ci: rename Logging to Debug in AppVeyor
vszakats Apr 17, 2023
191c4e8
build: assume non-blocking I/O on Windows
vszakats Apr 18, 2023
803f19f
cmake: dedupe setting `-DHAVE_CONFIG_H`
vszakats Apr 18, 2023
2213352
mansyntax: make it work on macOS, check reqs locally
vszakats Apr 18, 2023
17801d2
tidy-up: fix more nits
vszakats Apr 18, 2023
e4d8274
HACKING-CRYPTO: fix stray whitespace
vszakats Apr 19, 2023
2d0bd58
ci: really enable logging in AppVeyor CMake builds
vszakats Apr 19, 2023
3336b00
tests: add `FIXTURE_TRACE_ALL_CONNECT` option
vszakats Apr 19, 2023
e8ceea0
ci: enable FIXTURE_TRACE_ALL_CONNECT for WinCNG tests
vszakats Apr 19, 2023
d1bf8fa
ci: delete config elements for unused 32-bit Linux builds
vszakats Apr 19, 2023
31acf57
wincng: fix unused variables with `LIBSSH2_RSA_SHA2` disabled
vszakats Apr 19, 2023
6c01fa5
wincng: constify data arg of `libssh2_wincng_hash()`
vszakats Apr 19, 2023
8d10b21
base64: do not use `snprintf()` on encoding
vszakats Apr 19, 2023
9a54f21
scp: fix typo in comments [ci skip]
vszakats Apr 19, 2023
857e431
crypto: add/fix algo guards and extend `NO` options
vszakats Apr 20, 2023
5e3acb9
tidy-up: whitespace nits [ci skip]
vszakats Apr 20, 2023
d09ca26
tidy-up: align comments [ci skip]
vszakats Apr 20, 2023
3c953c0
Add support for AES-GCM crypto protocols (#797)
dfandrich Apr 20, 2023
2d7be5f
tidy-up: indentation fixes [ci skip]
vszakats Apr 20, 2023
5e56002
crypto: add `LIBSSH2_NO_AES_CBC` option
vszakats Apr 20, 2023
a4544c0
channel: add support for "signal" message
kdart Feb 12, 2022
6812985
docs: fix typo in argument name [ci skip]
vszakats Apr 20, 2023
0048f30
support encrypt-then-mac (etm) MACs (#987)
vszakats Apr 21, 2023
7b21ef3
tests: add AES-GCM protocol read tests (#992)
dfandrich Apr 21, 2023
cd5977d
cmake: restore a dash char in comment [ci skip]
vszakats Apr 21, 2023
f7e889b
build: add autotools test_read support and more
vszakats Apr 20, 2023
fba0b52
ci: add Windows Server 2016 into the test mix
vszakats Apr 21, 2023
bc4e619
Agent forwarding implementation (#752)
MichaelBuckley Apr 22, 2023
fdf824d
ci: reduce algo test runtime on AppVeyor
vszakats Apr 22, 2023
a459a25
tests: improve running tests
vszakats Apr 21, 2023
66fa286
tidy-up: tiny nits [ci skip]
vszakats Apr 25, 2023
097c8f0
openssl: fix misleading error message if wrong passphrase (#789)
Zenju Apr 25, 2023
4e256cf
test/CMakeLists.txt: reuse `Makefile.am` librunner source list
vszakats Apr 25, 2023
437af7e
kex: fix overlapping memcpy() to memmove()
vszakats Apr 20, 2023
f2de2fd
cmake: use portable mkdir for tests/coverage target [ci skip]
vszakats Apr 25, 2023
6939f08
libssh2_priv.h: whitespace fixes [ci skip]
vszakats Apr 25, 2023
9ef7529
libssh2_priv.h: whitespace fixes cont. [ci skip]
vszakats Apr 25, 2023
55dfb7e
libssh2_priv.h: fix checksrc warning [ci skip]
vszakats Apr 25, 2023
e53aae0
tidy-up: `gettimeofday()` fallback and use
vszakats Apr 25, 2023
5981bcb
fix a couple of small regressions (#1004)
migueldeicaza Apr 26, 2023
5db836b
libssh2_priv.h: assume `HAVE_LONGLONG`
vszakats Apr 25, 2023
2c18b6f
build: fix `make distcheck` regressions
vszakats Apr 26, 2023
6c6bf4e
vms: fix to include `sys/socket.h`
vszakats Apr 26, 2023
d7bec41
tidy-up: formatting nits [ci skip]
vszakats Apr 26, 2023
592e2b3
docs: simplify `.TH` header & other cleanups [ci skip]
vszakats Apr 26, 2023
33dddd2
If SFTP fails to initialize, do not busy loop waiting for IO to happe…
migueldeicaza Apr 26, 2023
8890fb4
tests/sshd_fixture.sh: convert back to POSIX
vszakats Apr 26, 2023
23029a9
session_fixture: avoid no-op `chdir(getcwd())`
vszakats Apr 26, 2023
f4a4c05
ci: add MSVC and UWP builds to GitHub Actions
vszakats Apr 26, 2023
d67aaaf
tidy-up: text nits, English contractions [ci skip]
vszakats Apr 27, 2023
a683133
tidy-up: C header use
vszakats Apr 24, 2023
59ed0a7
kex: use distinctive error strings
vszakats Apr 17, 2023
f36edf9
ci: convert `docker-bridge.bat` to shell script
vszakats Apr 28, 2023
d93ccf4
ci: add macOS CI jobs + fix issues revealed
vszakats Apr 27, 2023
ccac522
checksrc: update and apply fixes
vszakats Apr 28, 2023
fc7e79e
sftp: remove packet limit for directory reading (#791)
Zenju May 1, 2023
738cbf5
docker-bridge.ps1: use native newlines
vszakats May 3, 2023
7aab5bd
build: fix autoreconf warnings
vszakats Apr 28, 2023
6972eb1
ci: restrict permissions in GitHub Actions
vszakats Apr 28, 2023
7c98234
appveyor: wait more for SSH connection from GHA
vszakats Apr 29, 2023
efdacfc
tidy-up: add missing newline to error msg, formatting
vszakats Apr 29, 2023
3f3236e
test_ssh2: support `FIXTURE_TRACE_ALL*` envvars
vszakats Apr 29, 2023
cda41f7
tests: teach to use the `USERNAME` envvar on Windows
vszakats Apr 30, 2023
081c045
tidy-up: avoid word 'simply'
vszakats Apr 30, 2023
3185151
tidy-up: avoid word 'just'
vszakats Apr 30, 2023
5ee6d0f
tidy-up: avoid expression 'of course'
vszakats Apr 30, 2023
dee8ec9
docs: delete two stray characters
vszakats May 2, 2023
5ca2d63
appveyor: skip `before_test` when not doing tests
vszakats May 1, 2023
82ef896
appveyor: add a UWP OpenSSL 3 build
vszakats May 1, 2023
df513c0
openssl: enable AES-GCM with wolfSSL
vszakats May 1, 2023
d964289
checksrc: sync with curl
vszakats May 1, 2023
ec8689b
cmake: move option descriptions next to definition
vszakats Apr 30, 2023
33f3260
tests: fix newlines in test keys for sshd on Windows
vszakats Apr 30, 2023
ce9d789
ISSUE_TEMPLATE: ask for crypto backend version
vszakats May 2, 2023
b87fbc9
checksrc.sh: fix it to run from any current directory
vszakats May 2, 2023
74ffa1e
cmake: delete obsolete comment
vszakats May 2, 2023
1c1317c
build: compile agent_win.c via agent.c
vszakats May 1, 2023
baecb5e
Makefile.mk: make tests depend on runner lib
vszakats May 1, 2023
e99c84f
ci.yml: fix indentation [ci skip]
vszakats Apr 30, 2023
d70919f
example, test_ssh2: shutdown socket before close
vszakats May 2, 2023
bc120a3
tests: retry KEX failures when using the WinCNG backend
vszakats Apr 28, 2023
612ca85
cmake: use shared libs again in example and tests
vszakats May 2, 2023
0a29a63
tests: set -e -u in shell scripts
vszakats May 3, 2023
8270633
example, tests: fix ssh2 to correctly return failure
vszakats May 3, 2023
875bc59
Makefile.mk: use Makefile.inc from example and tests
vszakats May 1, 2023
dd62576
ci: add `Makefile.mk` test, with `LIBSSH2_NO_*` options
vszakats May 3, 2023
c01ccf8
ci: sync names, steps, syntax, build dirname between jobs
vszakats May 3, 2023
03ee8d3
ci: restore parallel builds with cmake
vszakats May 3, 2023
0c57c56
ci: switch to out-of-tree autotools builds
vszakats May 3, 2023
54e8d02
ci: add `make distcheck` job
vszakats May 3, 2023
62178a3
tests: add cmake/autotools options to disable running tests
vszakats May 3, 2023
8d076c0
tests: disable sshd tests on Windows via new options
vszakats May 3, 2023
8aa1ca8
ci: make sure to run tests after all builds in GHA
vszakats May 3, 2023
d4690e9
tests: merge `sshd_fixture.sh` into `test_sshd.test`
vszakats May 3, 2023
272a17c
sftp: parse attribute extensions, if present, to avoid stream parsing…
nicryptolaus May 3, 2023
fc003d4
tidy-up: formatting nits
vszakats May 4, 2023
0287961
agent_win: make a struct static and other build improvements
vszakats May 4, 2023
a9f1aca
cmake: do not check for `poll()` on Windows
vszakats May 4, 2023
1289033
cmake: assume `bcrypt.h` with WinCNG
vszakats May 4, 2023
3d64a3f
ci: add mingw-w64 clang and gcc CMake jobs
vszakats May 4, 2023
fd97ecc
ci: add missing timeouts for autotools tests
vszakats May 4, 2023
b9eafb9
ci: merge make job into msys2 section, enable zlib + openssl
vszakats May 4, 2023
a190503
cmake: re-add `select()` detection (regression)
vszakats May 4, 2023
62acef1
libssh2_setup.h: set `HAVE_INTTYPES_H` for MSVC
vszakats May 4, 2023
f12e25a
cmake: prefill for faster config phase on Windows
vszakats May 4, 2023
1458e28
cmake: move `CMAKE_VS_GLOBALS` setting to CI configs
vszakats May 4, 2023
e36b21d
cmake: limit WinCNG to Windows
vszakats May 5, 2023
ebf644f
src: fix `libssh2_store_*()` for >u32 inputs
vszakats May 3, 2023
cdd7fc0
tests: simplify passing `srcdir` to tests
vszakats May 3, 2023
7129ea9
cmake: add and test "unity" builds
vszakats May 7, 2023
34b6549
ci: add missed --parallel 3 from msys2 cmake builds
vszakats May 7, 2023
231bd8f
ci: enable shared libs in msys2/macOS cmake builds
vszakats May 7, 2023
b48ae2d
tidy-up: move comment off from copyright header
vszakats May 8, 2023
731e74e
test_auth_keyboard_info_request: fix indentation
vszakats May 8, 2023
84d31d0
test_auth_keyboard_info_request: fix to return failure
vszakats May 8, 2023
4296fcc
build: fix to set `-DLIBSSH2DEBUG` for tests
vszakats May 8, 2023
bc2445e
cmake: allow tests with `BUILD_STATIC_LIBS=OFF`
vszakats May 7, 2023
86eaec4
ci: make one of the AppVeyor CMake jobs shared-only
vszakats May 8, 2023
4fcb97b
Makefile.mk: fix `DYN=1 test` by skipping tests needing static lib
vszakats May 8, 2023
9bd4d94
ci: do not disable shared lib with msys2/autotools in GHA
vszakats May 8, 2023
a791c0b
cmake: add `IMPORT_LIB_SUFFIX` (like `STATIC_LIB_SUFFIX`)
vszakats May 8, 2023
837fa4b
cmake: tweak static/import lib name collision avoidance logic
vszakats May 8, 2023
896154b
cmake: enable shared libssh2 library by default
vszakats May 7, 2023
c7074cc
ci: drop default shared/static configuration options
vszakats May 8, 2023
bfcf796
tidy-up: minor nits
vszakats May 10, 2023
1c93234
checksrc: verify label indent, fix fallouts
vszakats May 18, 2023
e692c55
cmake: avoid `list(PREPEND)` for compatibility
vszakats May 18, 2023
ddb3be7
build: fix 'unused' compiler warnings with all `NO` options set
vszakats May 18, 2023
4beb7a3
wolfssl: fix detection of AES-GCM feature
vszakats May 25, 2023
8e3bbd8
ci: mbedTLS build config tidy-up
vszakats May 25, 2023
801aebc
ci: add wolfSSL Linux builds
vszakats May 25, 2023
3f4ea93
ci: add LIBSSH2_NO_AES_CBC to GNU Make build
vszakats May 26, 2023
e7a542d
add copyright/credits
vszakats May 28, 2023
1a186f1
Libssh2 1.11 release notes, copyright (#1048)
willco007 May 30, 2023
1c3f1b7
libssh2.h: bump to 1.11.0 for release
bagder May 29, 2023
fa8f9fd
Merge tag 'libssh2-1.11.0' into feature/move-to-native-tipi-deps
pysco68 Aug 17, 2023
d969841
:broom: cleaning up things
pysco68 Aug 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .gitattribute

This file was deleted.

5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ A recipe or example code that reproduces the problem? A stack trace from a crash
A clear and concise description of what you expected to happen.

**Version (please complete the following information):**
- OS: [e.g. iOS]
- libssh2 version [e.g. 1.8.0]
- OS and version: [e.g. iOS, macOS, Windows, Linux (distro)]
- libssh2 version: [e.g. 1.10.0]
- crypto backend and version: [OpenSSL, mbedTLS, Libgcrypt, LibreSSL, WinCNG, OS400, wolfSSL, None]

**Additional context**
Add any other context about the problem here.
13 changes: 13 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Security Policy

See [SECURITY.md](https://github.com/libssh2/libssh2/blob/master/docs/SECURITY.md) for full details.

## Reporting a Vulnerability

If you have found or just suspect a security problem somewhere in libssh2,
email `libssh2-security@haxx.se` about it.

**Do not submit suspected security issues in the public bug tracker!**

We treat security issues with confidentiality until controlled and disclosed
responsibly.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ on:
ssh_privkey:
required: true

permissions: {}

jobs:
daemon:
runs-on: ubuntu-latest
Expand Down
60 changes: 60 additions & 0 deletions .github/workflows/appveyor_status.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Copyright (c) 2022 Marc Hoersken
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

name: AppVeyor Status Report

on:
status

concurrency:
group: ${{ github.workflow }}-${{ github.event.sha }}-${{ github.event.target_url }}
cancel-in-progress: true

permissions:
statuses: write

jobs:
split:
runs-on: ubuntu-latest
if: ${{ github.event.sender.login == 'appveyor[bot]' }}
steps:
- name: Create individual AppVeyor build statuses
if: ${{ github.event.sha && github.event.target_url }}
env:
APPVEYOR_COMMIT_SHA: ${{ github.event.sha }}
APPVEYOR_TARGET_URL: ${{ github.event.target_url }}
APPVEYOR_REPOSITORY: ${{ github.event.repository.full_name }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo ${APPVEYOR_TARGET_URL} | sed 's/\/project\//\/api\/projects\//' | xargs -t -n1 curl -s | \
jq -c '.build.jobs[] | {target_url: ($target_url + "/job/" + .jobId),
context: (.name | sub("^(Environment: )?"; "AppVeyor / ")),
state: (.status | sub("queued"; "pending")
| sub("starting"; "pending")
| sub("running"; "pending")
| sub("failed"; "failure")
| sub("cancelled"; "error")),
description: .status}' \
--arg target_url ${APPVEYOR_TARGET_URL} | tee /dev/stderr | parallel --pipe -j 1 -N 1 \
gh api --silent --input - repos/${APPVEYOR_REPOSITORY}/statuses/${APPVEYOR_COMMIT_SHA}
Loading