From libssh2-devel-bounces@cool.haxx.se  Fri May  3 13:30:08 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x43BTTfl024948;
	Fri, 3 May 2019 13:30:00 +0200
Received: from sonic304-27.consmr.mail.gq1.yahoo.com
 (sonic304-27.consmr.mail.gq1.yahoo.com [98.137.68.208])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x43BTOx3024871
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 3 May 2019 13:29:26 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048;
 t=1556882960; bh=DBhtN1u97t18TryYyxt3c7+oMl6VsKhjT/pnJu8kgxk=;
 h=Subject:From:To:References:Date:In-Reply-To:From:Subject;
 b=auz/qZn6R6o0edbA+4BG2mCvCpYgQDbQRYwNZmLtA7F8cjn3Hf7ww08mTQYYBNJqePD2AGAnv9ETDRuV+8jq4nrVn5WvGu67XydK90QU1wVM+pdfdrxFGu6yT5V0EgAQTcXtRqtksRxdt0A29G0JgsDsQRCTCTclswhh9aqxbZiKV642ec5ehbLtyg2W2jQpuHmmZhuzhBiICzWuJNP8oEItF0x3QJVoAHJRg7Lb5/8ACDyvuC5GJVyAJcp6Ty1Nrpv6zQVsVRavjJNnO1wBJsSM/SDlMbHV0dUL+wtkHemvAMA8EIC1DyETBFceCSiL4bCPmVWg3cobLbZDPOdWGA==
X-YMail-OSG: 55kk37cVM1kIGJfE1GiGJozyX5AtxtwiAzm6S5Zu2v7D6kdV2rsTMaRQ4h21oEk
 OFEu3Lreq85ss7DXsR7VS3KkuE3Lyi9XT3sXpjOTbnD8GGKPDa00HkLO1J8vjdgVjoHoj3VukB1n
 U8iy.iKIW9uePyd7zQgTFBaeiPFtnaxmHtgJQAb.A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1.yahoo.com by
 sonic304.consmr.mail.gq1.yahoo.com with HTTP; Fri, 3 May 2019 11:29:20 +0000
Received: from CPE0c473df4b163-CM0c473df4b160.cpe.net.cable.rogers.com (EHLO
 Leos-iMac.local) ([99.231.1.52])
 by smtp409.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 23693f8563e051356fbe2954c5de3a63 for <libssh2-devel@cool.haxx.se>;
 Fri, 03 May 2019 11:29:18 +0000 (UTC)
Subject: Re: libssh crash on Mac
From: Leo <leo.r@rogers.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
Message-ID: <0e7652e3-59f2-6864-dc5a-530e686ad40b@rogers.com>
Date: Fri, 3 May 2019 07:29:16 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
Content-Language: en-US
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x43BTTfl024948


I finally was able to compile the Xcode app with libssh2 1.8.0 using 
libssh2.a library.

But the app still crashes on attempt to connect to any SFTP server.

Happens on both macOS 10.14 and 10.13.

I attached below the output from Xcode's debugger.

The error happens in libssh2_session_handshake ()

I wonder if anyone can point to any clue in this output that can help 
solve the issue?

Any advice will be greatly appreciated.


Thanks,
Leo



 ?? 0x10006adb4 <+859>:?? movq???? -0x38(%rbp), %r15
 ?????? 0x10006adb8 <+863>:?? jne?????? 0x10006b027???????????????????????????? ; <+1486>
 ?????? 0x10006adbe <+869>:?? movq???? 0xe8(%r13), %rsi
 ?????? 0x10006adc5 <+876>:?? movl???? $0x4, %edx
 ?????? 0x10006adca <+881>:?? leaq???? 0x25f7f(%rip), %rdi???????????? ; "SSH-"
 ?????? 0x10006add1 <+888>:?? callq?? 0x100076922???????????????????????????? ; symbol stub 
for: strncmp
 ?????? 0x10006add6 <+893>:?? testl?? %eax, %eax
 ?????? 0x10006add8 <+895>:?? jne?????? 0x10006ac5b???????????????????????????? ; <+514>
 ?????? 0x10006adde <+901>:?? movl???? $0x4, 0xcc60(%r13)
 ?????? 0x10006ade9 <+912>:?? xorl???? %esi, %esi
 ?????? 0x10006adeb <+914>:?? movq???? %r13, %rdi
 ?????? 0x10006adee <+917>:?? movq???? -0x50(%rbp), %rdx
 ?????? 0x10006adf2 <+921>:?? callq?? 0x100064350???????????????????????????? ; 
_libssh2_kex_exchange
->?? 0x10006adf7 <+926>:?? testl?? %eax, %eax ?????? ?????? ?????? ?????? ?????? ?????? ?????? 
 ?????? ?????? ?????? ?????? ?????? ?????? ?????? ?????? Thread 9: EXC_BAD_ACCESS (code=1, 
address=0x0)
 ?????? 0x10006adf9 <+928>:?? je???????? 0x10006ae61???????????????????????????? ; <+1032>
 ?????? 0x10006adfb <+930>:?? movq???? %r13, %rdi
 ?????? 0x10006adfe <+933>:?? movl???? %eax, %esi
 ?????? 0x10006ae00 <+935>:?? leaq???? 0x25f4e(%rip), %rdx???????????? ; "Unable to 
exchange encryption keys"
 ?????? 0x10006ae07 <+942>:?? jmp?????? 0x10006b031???????????????????????????? ; <+1496>
 ?????? 0x10006ae0c <+947>:?? testq?? %rax, %rax
 ?????? 0x10006ae0f <+950>:?? leaq???? 0x286(%rip), %rbx???????????????? ; <+1603>
 ?????? 0x10006ae16 <+957>:?? jns?????? 0x10006afa3???????????????????????????? ; <+1354>
 ?????? 0x10006ae1c <+963>:?? cmpq???? $-0x23, %rax
 ?????? 0x10006ae20 <+967>:?? je???????? 0x10006afa3???????????????????????????? ; <+1354>
 ?????? 0x10006ae26 <+973>:?? movl???? $0x0, 0xcb38(%r13)
 ?????? 0x10006ae31 <+984>:?? movl???? $0xffffffd5, %esi???????????????? ; imm = 
0xFFFFFFD5
 ?????? 0x10006ae36 <+989>:?? xorl???? %ecx, %ecx
 ?????? 0x10006ae38 <+991>:?? jmp?????? 0x10006afbf???????????????????????????? ; <+1382>
 ?????? 0x10006ae3d <+996>:?? movl???? $0x0, 0xcb38(%r13)
 ?????? 0x10006ae48 <+1007>: movq???? $0x0, 0xcc40(%r13)
 ?????? 0x10006ae53 <+1018>: movl???? $0xfffffffe, %esi???????????????? ; imm = 
0xFFFFFFFE
 ?????? 0x10006ae58 <+1023>: movq???? -0x38(%rbp), %r15
 ?????? 0x10006ae5c <+1027>: jmp?????? 0x10006b027???????????????????????????? ; <+1486>
 ?????? 0x10006ae61 <+1032>: movl???? $0x5, 0xcc60(%r13)
 ?????? 0x10006ae6c <+1043>: movb???? $0x5, 0xcc78(%r13)
 ?????? 0x10006ae74 <+1051>: movl???? $0xc, %esi
 ?????? 0x10006ae79 <+1056>: movq???? -0x68(%rbp), %rdi
 ?????? 0x10006ae7d <+1060>: callq?? 0x100068baf???????????????????????????? ; 
_libssh2_htonu32
 ?????? 0x10006ae82 <+1065>: movq???? -0x60(%rbp), %rax
 ?????? 0x10006ae86 <+1069>: movabsq $0x726573752d687373, %rcx ; imm = 
0x726573752D687373
 ?????? 0x10006ae90 <+1079>: movq???? %rcx, (%rax)
 ?????? 0x10006ae93 <+1082>: movl???? $0x68747561, 0x8(%rax)?????? ; imm = 
0x68747561
 ?????? 0x10006ae9a <+1089>: movl???? $0x6, 0xcc60(%r13)
 ?????? 0x10006aea5 <+1100>: movl???? $0x11, %edx
 ?????? 0x10006aeaa <+1105>: xorl???? %ecx, %ecx
 ?????? 0x10006aeac <+1107>: xorl???? %r8d, %r8d
 ?????? 0x10006aeaf <+1110>: movq???? %r13, %rdi
 ?????? 0x10006aeb2 <+1113>: movq???? -0x88(%rbp), %rsi
 ?????? 0x10006aeb9 <+1120>: callq?? 0x1000732f3???????????????????????????? ; 
_libssh2_transport_send
 ?????? 0x10006aebe <+1125>: testl?? %eax, %eax
 ?????? 0x10006aec0 <+1127>: je???????? 0x10006aed3???????????????????????????? ; <+1146>
 ?????? 0x10006aec2 <+1129>: movq???? %r13, %rdi
 ?????? 0x10006aec5 <+1132>: movl???? %eax, %esi
 ?????? 0x10006aec7 <+1134>: leaq???? 0x25eb7(%rip), %rdx???????????? ; "Unable to 
ask for ssh-userauth service"
 ?????? 0x10006aece <+1141>: jmp?????? 0x10006b031???????????????????????????? ; <+1496>
 ?????? 0x10006aed3 <+1146>: movl???? $0x7, 0xcc60(%r13)
 ?????? 0x10006aede <+1157>: movl???? $0x6, %esi
 ?????? 0x10006aee3 <+1162>: xorl???? %r8d, %r8d
 ??0x10006aee6 <+1165>: xorl???? %r9d, %r9d
 ?????? 0x10006aee9 <+1168>: movq???? %r13, %rdi
 ?????? 0x10006aeec <+1171>: movq???? -0x80(%rbp), %rdx
 ?????? 0x10006aef0 <+1175>: movq???? -0x78(%rbp), %rcx
 ?????? 0x10006aef4 <+1179>: pushq?? -0x70(%rbp)
 ?????? 0x10006aef7 <+1182>: pushq?? $0x0
 ?????? 0x10006aef9 <+1184>: callq?? 0x10006a2a6???????????????????????????? ; 
_libssh2_packet_require
 ?????? 0x10006aefe <+1189>: addq???? $0x10, %rsp
 ?????? 0x10006af02 <+1193>: testl?? %eax, %eax
 ?????? 0x10006af04 <+1195>: jne?????? 0x10006b036???????????????????????????? ; <+1501>
 ?????? 0x10006af0a <+1201>: movq???? 0xcc68(%r13), %rdi
 ?????? 0x10006af11 <+1208>: incq???? %rdi
 ?????? 0x10006af14 <+1211>: callq?? 0x100068b99???????????????????????????? ; 
_libssh2_ntohu32
 ?????? 0x10006af19 <+1216>: movl???? %eax, %edx
 ?????? 0x10006af1b <+1218>: movq???? %rdx, 0xcc90(%r13)
 ?????? 0x10006af22 <+1225>: movq???? 0xcc68(%r13), %r14
 ?????? 0x10006af29 <+1232>: cmpl???? $0xc, %eax
 ?????? 0x10006af2c <+1235>: jne?????? 0x10006af46???????????????????????????? ; <+1261>
 ?????? 0x10006af2e <+1237>: leaq???? 0x5(%r14), %rsi
 ?????? 0x10006af32 <+1241>: leaq???? 0x25e3f(%rip), %rdi???????????? ; "ssh-userauth"
 ?????? 0x10006af39 <+1248>: callq?? 0x100076922???????????????????????????? ; symbol stub 
for: strncmp
 ?????? 0x10006af3e <+1253>: testl?? %eax, %eax
 ?????? 0x10006af40 <+1255>: je???????? 0x10006b078???????????????????????????? ; <+1567>
 ?????? 0x10006af46 <+1261>: movq???? %r14, %rdi
 ?????? 0x10006af49 <+1264>: movq???? %r13, %rsi
 ?????? 0x10006af4c <+1267>: callq?? *0x18(%r13)
 ?????? 0x10006af50 <+1271>: movq???? $0x0, 0xcc68(%r13)
 ?????? 0x10006af5b <+1282>: movl???? $0xfffffff2, %esi???????????????? ; imm = 
0xFFFFFFF2
 ?????? 0x10006af60 <+1287>: movq???? %r13, %rdi
 ?????? 0x10006af63 <+1290>: leaq???? 0x25e42(%rip), %rdx???????????? ; "Invalid 
response received from server"
 ?????? 0x10006af6a <+1297>: jmp?????? 0x10006b031???????????????????????????? ; <+1496>
 ?????? 0x10006af6f <+1302>: cmpl???? $-0x23, %eax
 ?????? 0x10006af72 <+1305>: movq???? -0x38(%rbp), %r15
 ?????? 0x10006af76 <+1309>: leaq???? 0x11f(%rip), %rbx???????????????? ; <+1603>
 ?????? 0x10006af7d <+1316>: jne?????? 0x10006b00c???????????????????????????? ; <+1459>
 ?????? 0x10006af83 <+1322>: movl???? $0x1, 0x208(%r13)
 ?????? 0x10006af8e <+1333>: sarq???? $0x20, %r14
 ?????? 0x10006af92 <+1337>: movq???? %r14, 0xcc40(%r13)
 ?????? 0x10006af99 <+1344>: movl???? $0xffffffdb, %esi???????????????? ; imm = 
0xFFFFFFDB
 ?????? 0x10006af9e <+1349>: jmp?????? 0x10006b027???????????????????????????? ; <+1486>
 ?????? 0x10006afa3 <+1354>: movl???? $0x2, 0x208(%r13)
 ?????? 0x10006afae <+1365>: testq?? %rax, %rax
 ?????? 0x10006afb1 <+1368>: jle?????? 0x10006b05a???????????????????????????? ; <+1537>
 ?????? 0x10006afb7 <+1374>: addq???? %rax, %rcx
 ?????? 0x10006afba <+1377>: movl???? $0xffffffdb, %esi???????????????? ; imm = 
0xFFFFFFDB
 ?????? 0x10006afbf <+1382>: movq???? %rcx, 0xcc40(%r13)
 ?????? 0x10006afc6 <+1389>: movq???? %r13, %rdi
 ?????? 0x10006afc9 <+1392>: leaq???? 0x25d54(%rip), %rdx???????????? ; "Failed 
sending banner"
 ?????? 0x10006afd0 <+1399>: jmp?????? 0x10006b031???????????????????????????? ; <+1496>
 ?????? 0x10006afd2 <+1401>: movl???? $0xffffffff, 0x204(%r13)?? ; imm = 
0xFFFFFFFF
 ?????? 0x10006afdd <+1412>: movl???? $0xfffffff3, %esi???????????????? ; imm = 
0xFFFFFFF3
 ?????? 0x10006afe2 <+1417>: jmp?????? 0x10006afff???????????????????????????? ; <+1446>
 ?????? 0x10006afe4 <+1419>: movl???? $0x0, 0xcb38(%r13)
 ?????? 0x10006afef <+1430>: movq???? $0x0, 0xcc40(%r13)
 ?????? 0x10006affa <+1441>: movl???? $0xfffffffe, %esi???????????????? ; imm = 
0xFFFFFFFE
 ?????? 0x10006afff <+1446>: movq???? -0x38(%rbp), %r15
 ?????? 0x10006b003 <+1450>: leaq???? 0x92(%rip), %rbx?????????????????? ; <+1603>
 ?????? 0x10006b00a <+1457>: jmp?????? 0x10006b027???????????????????????????? ; <+1486>
 ?????? 0x10006b00c <+1459>: movl???? $0x0, 0xcb38(%r13)
 ?????? 0x10006b017 <+1470>: movq???? $0x0, 0xcc40(%r13)
 ?????? 0x10006b022 <+1481>: movl???? $0xffffffd5, %esi???????????????? ; imm = 
0xFFFFFFD5
 ?????? 0x10006b027 <+1486>: movq???? %r13, %rdi
 ?????? 0x10006b02a <+1489>: leaq???? 0x25d09(%rip), %rdx???????????? ; "Failed 
getting banner"
 ?????? 0x10006b031 <+1496>: callq?? 0x100068b00???????????????????????????? ; _libssh2_error
 ?????? 0x10006b036 <+1501>: cmpl???? $-0x25, %eax
 ?????? 0x10006b039 <+1504>: jne?????? 0x10006b069???????????????????????????? ; <+1552>
 ?????? 0x10006b03b <+1506>: cmpl???? $0x0, 0x94(%r13)
 ?????? 0x10006b043 <+1514>: je???????? 0x10006b064???????????????????????????? ; <+1547>
 ?????? 0x10006b045 <+1516>: movq???? %r13, %rdi
 ?????? 0x10006b048 <+1519>: movq???? %r15, %rsi
 ?????? 0x10006b04b <+1522>: callq?? 0x10006a864???????????????????????????? ; 
_libssh2_wait_socket
 ?????? 0x10006b050 <+1527>: testl?? %eax, %eax
 ?????? 0x10006b052 <+1529>: je???????? 0x10006aaf5???????????????????????????? ; <+156>
 ?????? 0x10006b058 <+1535>: jmp?????? 0x10006b069???????????????????????????? ; <+1552>
 ?????? 0x10006b05a <+1537>: movl???? $0xffffffdb, %esi???????????????? ; imm = 
0xFFFFFFDB
 ?????? 0x10006b05f <+1542>: jmp?????? 0x10006afc6???????????????????????????? ; <+1389>
 ?????? 0x10006b064 <+1547>: movl???? $0xffffffdb, %eax???????????????? ; imm = 
0xFFFFFFDB
 ?????? 0x10006b069 <+1552>: addq???? $0x68, %rsp
 ?????? 0x10006b06d <+1556>: popq???? %rbx
 ?????? 0x10006b06e <+1557>: popq???? %r12
 ?????? 0x10006b070 <+1559>: popq???? %r13
 ?????? 0x10006b072 <+1561>: popq???? %r14
 ?????? 0x10006b074 <+1563>: popq???? %r15
 ?????? 0x10006b076 <+1565>: popq???? %rbp
 ?????? 0x10006b077 <+1566>: retq
 ?????? 0x10006b078 <+1567>: movq???? %r14, %rdi
 ?????? 0x10006b07b <+1570>: movq???? %r13, %rsi
 ?????? 0x10006b07e <+1573>: callq?? *0x18(%r13)
 ?????? 0x10006b082 <+1577>: movq???? $0x0, 0xcc68(%r13)
 ?????? 0x10006b08d <+1588>: movl???? $0x0, 0xcc60(%r13)
 ?????? 0x10006b098 <+1599>: xorl???? %eax, %eax
 ?????? 0x10006b09a <+1601>: jmp?????? 0x10006b069???????????????????????????? ; <+1552>
 ?????? 0x10006b09c <+1603>: js???????? 0x10006b098???????????????????????????? ; <+1599>


On 3/11/19 6:32 AM, Leo wrote:
> Hi Peter,
>
> Thank you for the prompt reply!
>
>
> On 3/7/19 6:25 AM, Peter Stuge wrote:
>> Leo wrote:
>>> File: kex.c
>> ..
>>> libssh2_sha1_update(fingerprint_ctx,
>>> session->server_hostkey,?? <-------------Thread 1: EXC_BAD_ACCESS
>>> (code=1, address=0x0)
>>> session->server_hostkey_len);
>> So you could either try to debug this, e.g. by outputing the values of
>> session, session->server_hostkey and session->server_hostkey_len to a
>> debug log, or..
>
> The Xcode debugger output for these values is as follows:
>
> successful connection:
>
> session: 0x10288d400
> fingerprint_ctx:
> session->server_hostkey: ""
> session->server_hostkey_len: 279
>
>
> crash:
>
> session: 0x102213400
> fingerprint_ctx:
> session->server_hostkey: ""
> session->server_hostkey_len: 279
>
> The only difference is the 'session' value. Frankly, I don't know what 
> that means and if it can help find what causes the crash in the second 
> project.
>
> Do you have a better idea by any chance?
>
>>> Some basic project details:
>>>
>>> libssh2-1.4.3
>> ..you could just upgrade from this >6 year old version, and see if
>> your bug has already been fixed.
>
> I had to mention in my original post that it was my first thought, of 
> course.
>
> I spent a week trying to include the latest version of libssh2 in my 
> Xcode project - but all attempts to compile, unfortunately, failed.
>
> In a rare case that the project did compile, the app could only run on 
> the same machine - and crashed on others.
>
> I looked up tons of info on the problems I experienced, as well as the 
> info on libssh2 implementation in Xcode in general. Still no luck.
>
> After a week I had to give up on that, for now. I decided to first try 
> to solve the crash with libssh2-1.4.3, if possible - as at least it 
> compiles and does work in one app.
>
> If I won't be able to solve this crash, then I'll post a separate 
> question regarding Xcode integration of the current version.
>
>
> Sincerely,
> Leo
>

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sun May  5 00:59:04 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x44MwO4t003862;
	Sun, 5 May 2019 00:58:56 +0200
Received: from foo.stuge.se (foo.stuge.se [212.116.89.98])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x44MwMAV003802
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sun, 5 May 2019 00:58:22 +0200
Received: (qmail 8010 invoked by uid 1000); 4 May 2019 22:58:17 -0000
Message-ID: <20190504225817.8009.qmail@stuge.se>
Date: Sat, 4 May 2019 22:58:17 +0000
From: Peter Stuge <peter@stuge.se>
To: libssh2-devel@cool.haxx.se
Subject: Re: libssh crash on Mac
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
 <0e7652e3-59f2-6864-dc5a-530e686ad40b@rogers.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <0e7652e3-59f2-6864-dc5a-530e686ad40b@rogers.com>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x44MwO4t003862

Leo wrote:
> I finally was able to compile the Xcode app with libssh2 1.8.0 using 
> libssh2.a library.

That's good progress. Please build libssh2 with debug
(--enable-debug if using ./configure) and then add this line:

libssh2_trace(session, ~0);

after the call to libssh2_session_init() but before the call to
libssh2_session_handshake().


> But the app still crashes on attempt to connect to any SFTP server.

Have you checked that the session is initialized successfully?
Very basic error checking?


//Peter
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sun May  5 04:05:44 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x45254OZ006510;
	Sun, 5 May 2019 04:05:32 +0200
Received: from blaine.gmane.org ([195.159.176.226])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x45253V8006235
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sun, 5 May 2019 04:05:03 +0200
Received: from list by blaine.gmane.org with local (Exim 4.89)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane.org>)
 id 1hN6WW-000QNx-6A
 for libssh2-devel@cool.haxx.se; Sun, 05 May 2019 04:05:04 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: libssh crash on Mac
Date: Sun, 05 May 2019 04:04:58 +0200
Message-ID: <tegsceda57f1l6a7lbsmf7i5t11pale9rg@4ax.com>
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <20190307112528.18089.qmail-Y+HMSxxDrH8@public.gmane.org>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x45254OZ006510

Leo in gmane.network.ssh.libssh2.devel (Mon, 11 Mar 2019 06:32:51
-0400):
>I spent a week trying to include the latest version of libssh2 in my 
>Xcode project - but all attempts to compile, unfortunately, failed.

For iOS this works OK:
https://github.com/Frugghi/iSSH2
It should be working for OSX as well.

To use it with OpenSSL 1.1.1 a smal patch is needed. See
https://github.com/Frugghi/iSSH2/issues/7
-- 
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu May  9 00:47:36 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x48MkvTp005453;
	Thu, 9 May 2019 00:47:25 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x48MksNF005428
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 9 May 2019 00:46:55 +0200
Received: from [10.0.0.249] (unknown [10.0.0.249])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id 26283440
 for <libssh2-devel@cool.haxx.se>; Wed,  8 May 2019 15:46:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=dkim;
 t=1557355610; bh=do5d673DV4SpdHJ9c9G/vNcE6OMm34tY87Njr/8SOJ8=;
 h=From:Subject:Date:To;
 b=stK/WJZG95o5OKH1Y/rvZWaXjDC2MVi9Z//LT27YcXY75GjL9FuSBvRKB1oB8PHkB
 1oXSWvdt//6HScSrrBusAvxz67X/5l2C6dc8K1dO0Bg3gto7sr56En7XPXxEHb7NYz
 V52lZAL2VnL3LYgRn2hIA/KF7dOxoselQhLu8+9c=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Subject: 1.9.0 Release Date
Message-Id: <06C4A00F-9E69-4177-914C-815B4A2A42C3@panic.com>
Date: Wed, 8 May 2019 15:46:49 -0700
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: Apple Mail (2.3445.104.8)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 x48MksNF005428
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x48MkvTp005453

Several people have bought up the 1.9.0 release. So I thought this email could get the ball rolling to nail down a release date.  As far as I’m concerned we’re sitting in a good spot for release with a stable code base.

Looking at the open PRs there are some features waiting for touch-up but nothing that should stop release. Perhaps they could be looped into a release in 6 months or so if we didn’t want to take them at this point. I’ll throw out May 21 for a release date, how’s that sound? 

What do you all think?

Will
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu May  9 01:02:30 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x48N2F5B019634;
	Thu, 9 May 2019 01:02:26 +0200
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com
 [IPv6:2620:100:9005:57f:0:0:0:1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x48N2Dwf019627
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 9 May 2019 01:02:14 +0200
Received: from pps.filterd (m0122331.ppops.net [127.0.0.1])
 by mx0b-00190b01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x48MqblU013829
 for <libssh2-devel@cool.haxx.se>; Thu, 9 May 2019 00:02:11 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com;
 h=from : to : subject :
 date : message-id : references : in-reply-to : content-type :
 mime-version; s=jan2016.eng;
 bh=7pZik/7ZRCN4luP4N9TT11cPPhxXMND62xP3tdaWeY8=;
 b=aDL9qsFau6f2BFDOs9Db8/ovLTSq4MTGDZSsLwNzeMdkeKMmCUAB+wQRyxTaBZvu0bk+
 Cwhdg3D/lQlwz89phcQK0rx8VG82g6L6F1knkUVLILLIA0FPW3uEzoXhZ6584Z8NsWd9
 XXepjTcQB+xdcJLJZlVUTABMq73WB8fW7pLZtzJeRkg7FpG3656CmisS2sBS8VFIz6GN
 k6W8PFHO1MmRcwrv8MD+pVwz5EtUgAxqzFwjuMyyvrexHRvvZlA4PeBHn+lNHY8wi38R
 1daCYVDU7zU3/rvngYKcE7QGhK5W3RcfFgbK0eg3jZl3wC4UnXnNJnutSu59AKtdFWHd 6A== 
Received: from prod-mail-ppoint2 (prod-mail-ppoint2.akamai.com [184.51.33.19]
 (may be forged))
 by mx0b-00190b01.pphosted.com with ESMTP id 2sbsgkk4s4-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 09 May 2019 00:02:10 +0100
Received: from pps.filterd (prod-mail-ppoint2.akamai.com [127.0.0.1])
 by prod-mail-ppoint2.akamai.com (8.16.0.27/8.16.0.27) with SMTP id
 x48MlWtw031541
 for <libssh2-devel@cool.haxx.se>; Wed, 8 May 2019 19:02:10 -0400
Received: from email.msg.corp.akamai.com ([172.27.25.30])
 by prod-mail-ppoint2.akamai.com with ESMTP id 2s962w6u19-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 08 May 2019 19:02:01 -0400
Received: from USTX2EX-DAG3MB3.msg.corp.akamai.com (172.27.27.24) by
 USTX2EX-DAG3MB3.msg.corp.akamai.com (172.27.27.24) with Microsoft SMTP Server
 (TLS) id 15.0.1473.3; Wed, 8 May 2019 18:01:52 -0500
Received: from USTX2EX-DAG3MB3.msg.corp.akamai.com ([172.27.27.24]) by
 USTX2EX-DAG3MB3.msg.corp.akamai.com ([172.27.27.24]) with mapi id
 15.00.1473.003; Wed, 8 May 2019 18:01:47 -0500
From: "Kelley, Ryan" <rkelley@akamai.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: RE: 1.9.0 Release Date
Thread-Topic: 1.9.0 Release Date
Thread-Index: AQHVBfAJsqhqIfhJqUeE8+z8er1t36Zh15Gg
Date: Wed, 8 May 2019 23:01:46 +0000
Message-ID: <67f4f5f07d96487d83990f86d5e116c8@USTX2EX-DAG3MB3.msg.corp.akamai.com>
References: <06C4A00F-9E69-4177-914C-815B4A2A42C3@panic.com>
In-Reply-To: <06C4A00F-9E69-4177-914C-815B4A2A42C3@panic.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [172.19.42.29]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-05-08_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1810050000 definitions=main-1905080135
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-05-08_12:, , signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 malwarescore=0
 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015
 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000
 definitions=main-1905080136
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1297139591=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1297139591==
Content-Language: en-US
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature";
	micalg=SHA1; boundary="----=_NextPart_000_0000_01D505D0.7B155630"

------=_NextPart_000_0000_01D505D0.7B155630
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

At this point I would say getting a release or at the very least a =
release candidate cut would be key. I agree that the code is in the good =
position and have no issue with May 21st date.

Ryan Kelley

-----Original Message-----
From: Will Cosgrove <will@panic.com>=20
Sent: Wednesday, May 08, 2019 6:47 PM
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: 1.9.0 Release Date

Several people have bought up the 1.9.0 release. So I thought this email =
could get the ball rolling to nail down a release date.  As far as =
I=E2=80=99m concerned we=E2=80=99re sitting in a good spot for release =
with a stable code base.

Looking at the open PRs there are some features waiting for touch-up but =
nothing that should stop release. Perhaps they could be looped into a =
release in 6 months or so if we didn=E2=80=99t want to take them at this =
point. I=E2=80=99ll throw out May 21 for a release date, how=E2=80=99s =
that sound?=20

What do you all think?

Will
_______________________________________________
libssh2-devel =
https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

------=_NextPart_000_0000_01D505D0.7B155630
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIISBDCCA60w
ggKVoAMCAQICEHzz/GscXD6OTELtkPAFBCIwDQYJKoZIhvcNAQEFBQAwGDEWMBQGA1UEAxMNQWth
bWFpUEtJUm9vdDAeFw0wOTA0MjgxNDQzMjNaFw0yOTA0MjgxNDUzMjJaMBgxFjAUBgNVBAMTDUFr
YW1haVBLSVJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDHg35oORsqSDVtKlXN
BH3kTPboZGPKhL6cxaBOAsPMu1icWBeIC+0u/7bPxNOIuToDkx2pVqEAjPpCfgsmv3Xx2UY9wKwj
XE3Vu/M0YLSOgA64D/JDSkTb9nSYg2DzPTfH10DoKg/kU0SEt3sa1k2T6Ku3s9tZIon1BJcNFTAG
nx+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tYWlQS0lJc3N1
aW5nAgpjGOerAAIACuHCMIGTBgkqhkiG9w0BCQ8xgYUwgYIwCwYJYIZIAWUDBAEqMAsGCWCGSAFl
AwQBFjAKBggqhkiG9w0DBzALBglghkgBZQMEAQIwDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMC
AgFAMAcGBSsOAwIaMAsGCWCGSAFlAwQCAzALBglghkgBZQMEAgIwCwYJYIZIAWUDBAIBMA0GCSqG
SIb3DQEBAQUABIIBACyKgB1EMXMRPS2HrsIO2LVzzJyYg2KUmuldt8325JO0LthyjBvzJjCajL6K
/7wCd5oTpiIbFxFKm993FBbY+T9+ud0/JuHXhey9XkhVP26BdSauOqjy5SU0Yg9xu/qPrO5j676i
KujlzTnVfm9o4ZB0x+D8vArkQdRvOOcqnsts4s/NFDXoW3VS515YI71FodxZKqxDq2JJMAVkJkOc
NbFR0Llbs+FOAzTgvj6EnbIGqiSJMQ808qZyPeztR8IAm8xXpGoNn0N9pLCOODq296X+s2No26YS
lxuO+PYTrbhk06yq7BUTTtmZ2gJpsv0GVfUZa5CrENDwlOC2wrXsapIAAAAAAAA=

------=_NextPart_000_0000_01D505D0.7B155630--

--===============1297139591==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1297139591==--

From libssh2-devel-bounces@cool.haxx.se  Fri May 10 12:12:56 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4AACEVA025854;
	Fri, 10 May 2019 12:12:43 +0200
Received: from sonic303-24.consmr.mail.ne1.yahoo.com
 (sonic303-24.consmr.mail.ne1.yahoo.com [66.163.188.150])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4AACB9S025727
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 May 2019 12:12:12 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048;
 t=1557483127; bh=d9a5aKosDLqBP2bkfxsBzNW+/HG8E7QV+BJpOIcuNpo=;
 h=Subject:To:References:From:Date:In-Reply-To:From:Subject;
 b=Cd+B37cA6bQ4u2O/tbHu00qNWrmA88S0nuT+1csifcx42MEwo3+JFlnVLGUxPesmXyfwNnGFvxMMKwkbfxwcJ2d8VxYpp7MyhlFx4LoxbMqGmuJGcsgmRzdVlzNRND6ttdeepj6wMsJqhamvjE0llIJhM1CBtucr265m83WgNmwVke5NNQd06CUm6E9b7K5ZSclcY8wXzTzfCj9LPgDkKf8J6cuF3TXlLo55hTjwIGTTgx8IhvAKU7uYB1Pdk0F+Wbw+eAc3yCounfwGo27u8C4TeZRPKhdULr3ImoP8gVR343R/YzqrGGSoWZ0bimRZLdq2g8g7D7/OofuJy5J6Dg==
X-YMail-OSG: 8lsaZaAVM1nkNelY0T4oNGHQJbDDfnJbJoTv7UYyQdVDkOUJAHQ9Sv4MmTCkwJI
 c0FV9cmMaM_uX.GicYmRz_rMTYA_7loFgOQ8w4i.ArL5V4IdDiVykMaeUA4U0PAeO_.vzAiWzvda
 6ZUfGNSujW.6MzSvYxdxeX9oklLDc..tQs7K1EjzjTR8sOo7e8s8JO57MAQu0p4wB07tvqWeLaye
 w9ZU9uaXOUHTRsZRHYa_8SXdILNgrH_G_BppLF0eLDm4HWBzQBtqjGtkxAonFf2gOwCIqBX6zhYU
 K5EQi9oIQf4HsMF47TZWetB7GRKVF31xhT.SovdQzhyT47Ac0.M3mLuOrpUedpTz0jgPkX.qqa7E
 VOn_XaZiPJNHAWscwVhkIyY7q5Ed3gemWKnf52fWjRFf13VkD21aHBcz1b9knubBsNuWFaCilPP7
 DjdypAiYTq.jN8HZa_U5qM1TH2WTEsfoHw17gcYLEhztM2ieDSVU21U.WYr8lVchmEirWswDaF_y
 4NG.DkbU.fsmb9_4u0SGpwXExYy56NVsNFhEHeowlldyG1KM9Owx9CFM98EmMcTVuPPSWYOWoMnz
 fdkm829q7q2_BxqUDruhZ8saKLd7iXdKiGneuADsOQ_eDJwRqwwbDJ6oxTo_Qhe9qhdH4JUzu8Bi
 z7KzACg.6S3D1IzfgkXJKHMOHsn1XbRiwDKFj3lbFasYwqGGGb2ns7PUjQ5cGOOdUu4khYyHnZ0r
 aTytInuVcHoUKtyFF4YX8i_1x_Hc.lTO3CfS4QAuc7bWhPEW5MY7DjwRJuWftqQu8aMmLMlFTI6q
 UGhBCXXdO_IA7PBD2r8Vg_RpR1S8notJXZRvcjkHT6BEZMWH4NirVtPESybK00TboF7nq5W1V8jq
 4jUtdDDyLqGLeBxuoevZ9GVuQBDkBKVD4bFtcV0JiKxqEcehLRBKWa6crXl1jYJpuw1.DcpmHxuO
 izgzSVNHN0oJfwXZprzmW1SwguSpttRBv4J4kWX9qulbsBTG56wFuF9vbo.l_1p8eFHyAJWEteCS
 _Sb_v2c0x1P4bLK8ea5PYQEq4l5PzIskaTvB52oOOPvnz_QsTa0qIuZvSPHLk1arylyroCBaOM2T
 qyGBo8I.TF0JSZj1.FKegYfCGuGeKhDXAJ8aemfx4ev4jNVkzYuyada9cye4g2AMPSBmhWrZxL1u
 ImD8n
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 10 May 2019 10:12:07 +0000
Received: from CPE0c473df4b163-CM0c473df4b160.cpe.net.cable.rogers.com (EHLO
 Leos-iMac.local) ([99.231.1.52])
 by smtp405.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 44b99680f3f0d9758a8183d7211cf977 for <libssh2-devel@cool.haxx.se>;
 Fri, 10 May 2019 10:12:04 +0000 (UTC)
Subject: Re: libssh crash on Mac
To: libssh2 development <libssh2-devel@cool.haxx.se>
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
 <0e7652e3-59f2-6864-dc5a-530e686ad40b@rogers.com>
 <20190504225817.8009.qmail@stuge.se>
From: Leo <leo.r@rogers.com>
Message-ID: <0808c645-9a25-be0f-2070-18fca2d4b9d8@rogers.com>
Date: Fri, 10 May 2019 06:12:03 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20190504225817.8009.qmail@stuge.se>
Content-Language: en-US
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4AACEVA025854

On 5/4/19 6:58 PM, Peter Stuge wrote:
> Leo wrote:
>> I finally was able to compile the Xcode app with libssh2 1.8.0 using
>> libssh2.a library.
> That's good progress. Please build libssh2 with debug
> (--enable-debug if using ./configure) and then add this line:
>
> libssh2_trace(session, ~0);
>
> after the call to libssh2_session_init() but before the call to
> libssh2_session_handshake().

Thanks Peter, will try and report back.

>> But the app still crashes on attempt to connect to any SFTP server.
> Have you checked that the session is initialized successfully?
> Very basic error checking?
>
Yes, the app checks if the session exists after libssh2_session_init()


Leo

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri May 10 12:16:21 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4AAGDqc030770;
	Fri, 10 May 2019 12:16:21 +0200
Received: from sonic303-24.consmr.mail.ne1.yahoo.com
 (sonic303-24.consmr.mail.ne1.yahoo.com [66.163.188.150])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4AAGBts030669
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 May 2019 12:16:12 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rogers.com; s=s2048;
 t=1557483367; bh=sax7g6k34bLy1UY5e+rIGo6qjgrAhfEJkoHnXLOCK6k=;
 h=Subject:To:References:From:Date:In-Reply-To:From:Subject;
 b=jyNc2Jru1Ch3oOVQlYgiZ/PGb+6DO4SsaELZIvIlIJYsCOZT2Lbb6Rcu8SEh7ponmJ8FlbaX9py+69mUtrcTU4ugdRbAizn+nHKH2kcLlmZtnKeShW3Y8jDo+a9CaRmX5RNm8x7i1g/35BGB11Sz7dorIIdjBnN6xrOFhbluoBbez0NzozIVcD0yXMJo25DR1bNFU71ErXEawFrvBRlZD+7AQKFOW0iQ6p/1BBrItzWVLjmQtWCKkQYaI5lMoHPJqJiSA02b5B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brKpecOTxDzSOK_h
 Hl85iO3VeyDFq.jOwMHlZfBljVm3E0smlDE789ABwYxcwNGx6oZoDX7ESgh2W_OG1KzF2oKwnmDt
 Jj4rVrwvQ8YpsZtbYLmbqGRnQwCzukrzBN0yQPATAkp9T0tyXB22IONTxG5Ej3YvU5KtO9GP7iGJ
 rRqSCnZKThCfMrHf885AfD1bO1Ps2Z9K7i6q9vovQ91P339xnbC5geQKL9Upb0Fmn6wlNn720t1a
 T9eaa
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic303.consmr.mail.ne1.yahoo.com with HTTP; Fri, 10 May 2019 10:16:07 +0000
Received: from CPE0c473df4b163-CM0c473df4b160.cpe.net.cable.rogers.com (EHLO
 Leos-iMac.local) ([99.231.1.52])
 by smtp401.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID
 d0074f5d74ebc218b998e294f9e11fd7 for <libssh2-devel@cool.haxx.se>;
 Fri, 10 May 2019 10:16:05 +0000 (UTC)
Subject: Re: libssh crash on Mac
To: libssh2 development <libssh2-devel@cool.haxx.se>
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <20190307112528.18089.qmail-Y+HMSxxDrH8@public.gmane.org>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
 <tegsceda57f1l6a7lbsmf7i5t11pale9rg@4ax.com>
From: Leo <leo.r@rogers.com>
Message-ID: <777cd2fa-03fc-868f-360a-4b3f2bec8c1f@rogers.com>
Date: Fri, 10 May 2019 06:16:05 -0400
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <tegsceda57f1l6a7lbsmf7i5t11pale9rg@4ax.com>
Content-Language: en-US
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4AAGDqc030770

On 5/4/19 10:04 PM, Jan Ehrhardt wrote:
> Leo in gmane.network.ssh.libssh2.devel (Mon, 11 Mar 2019 06:32:51
> -0400):
>> I spent a week trying to include the latest version of libssh2 in my
>> Xcode project - but all attempts to compile, unfortunately, failed.
> For iOS this works OK:
> https://github.com/Frugghi/iSSH2
> It should be working for OSX as well.
>
> To use it with OpenSSL 1.1.1 a smal patch is needed. See
> https://github.com/Frugghi/iSSH2/issues/7


Thanks Jan,

Yes, I went through every available resources before that...

Regardless, like I mentioned in an earlier post I could compile the app 
finally with 1.8.0 - but it still crashes.

Will follow the steps suggested by Peter Stuge and report back.

Leo
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Fri May 10 17:37:04 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4AFaU26021182;
	Fri, 10 May 2019 17:36:56 +0200
Received: from blaine.gmane.org ([195.159.176.226])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4AFaSq0021171
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Fri, 10 May 2019 17:36:28 +0200
Received: from list by blaine.gmane.org with local (Exim 4.89)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane.org>)
 id 1hP7ZV-000x4O-Hj
 for libssh2-devel@cool.haxx.se; Fri, 10 May 2019 17:36:29 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: libssh crash on Mac
Date: Fri, 10 May 2019 17:36:23 +0200
Message-ID: <qq5bdelpk42le2d5m8fvv5rplo046hirtg@4ax.com>
References: <06f444aa-383a-8431-9da0-0f1f8cd51e07@rogers.com>
 <20190307112528.18089.qmail@stuge.se>
 <20190307112528.18089.qmail-Y+HMSxxDrH8@public.gmane.org>
 <34d20f30-473f-c317-d5f3-cce8bf3f7c60@rogers.com>
 <tegsceda57f1l6a7lbsmf7i5t11pale9rg@4ax.com>
 <tegsceda57f1l6a7lbsmf7i5t11pale9rg-e09XROE/p8c@public.gmane.org>
 <777cd2fa-03fc-868f-360a-4b3f2bec8c1f@rogers.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4AFaU26021182

rLeo in gmane.network.ssh.libssh2.devel (Fri, 10 May 2019 06:16:05
-0400):
>On 5/4/19 10:04 PM, Jan Ehrhardt wrote:
>> For iOS this works OK:
>> https://github.com/Frugghi/iSSH2
>> It should be working for OSX as well.
>>
>> To use it with OpenSSL 1.1.1 a smal patch is needed. See
>> https://github.com/Frugghi/iSSH2/issues/7
>
>Yes, I went through every available resources before that...
>
>Regardless, like I mentioned in an earlier post I could compile the app 
>finally with 1.8.0 - but it still crashes.

Strange. I am using the 1.8.2 libssh.a in a B2B iOS app without any
problems, using this library:
http://cocoadocs.org/docsets/NMSSH/2.2.7/
https://github.com/NMSSH/NMSSH
-- 
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat May 11 13:22:06 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4BBLPQ6006546;
	Sat, 11 May 2019 13:21:55 +0200
Received: from giant.haxx.se (mail [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4BBLOF1006522
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 13:21:24 +0200
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id x4BBLO5V006518
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 13:21:24 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Sat, 11 May 2019 13:21:24 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: libssh2-security
Message-ID: <alpine.DEB.2.20.1905111316510.604@tvnag.unkk.fr>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4BBLPQ6006546

Hi team,

I am the only member on that email alias - and I'm trying to get away from 
maintaining libssh2. It makes me a shitty representative for the project there 
and it makes the libssh2 security handling far from ideal.

Suggestions?

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat May 11 21:32:06 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4BJVUBF017693;
	Sat, 11 May 2019 21:31:57 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4BJVRMF017600
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 21:31:28 +0200
Received: from [192.168.1.121] (c-24-22-78-147.hsd1.or.comcast.net
 [24.22.78.147])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id 174D5387
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 12:31:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=dkim;
 t=1557603083; bh=wMyOAo7UnpzsBONlLkKSdSwpYkqQKSUNo3VtByur+oE=;
 h=From:Date:Subject:References:In-Reply-To:To;
 b=z7UB0gky3UF4QOK28GhL7OUY97VSWRehWYWu/6G7WZpPsgFpaztC/zwh3ZgkukunA
 +tx2CqprFn4mvpx0AWgTZCizvjEuuuQ/bEpDa9+ajkgVHUtakC7nvD8tGicVBDci5h
 gITjQalV4vd5EWpOQe5Ipduj6KKsDNxh+LVKcdXg=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (1.0)
Date: Sat, 11 May 2019 12:31:22 -0700
Subject: Re: libssh2-security
Message-Id: <8F84B2AC-3029-45C9-91D6-F23F8FF025A8@panic.com>
References: <alpine.DEB.2.20.1905111316510.604@tvnag.unkk.fr>
In-Reply-To: <alpine.DEB.2.20.1905111316510.604@tvnag.unkk.fr>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: iPhone Mail (16E227)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 x4BJVRMF017600
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4BJVUBF017693

Feel free to add me to the list. 

Will

> On May 11, 2019, at 4:21 AM, Daniel Stenberg <daniel@haxx.se> wrote:
> 
> Hi team,
> 
> I am the only member on that email alias - and I'm trying to get away from maintaining libssh2. It makes me a shitty representative for the project there and it makes the libssh2 security handling far from ideal.
> 
> Suggestions?
> 
> -- 
> 
> / daniel.haxx.se
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel


_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat May 11 22:38:54 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4BKcLua032159;
	Sat, 11 May 2019 22:38:44 +0200
Received: from giant.haxx.se (mail [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4BKcK57032115
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 22:38:20 +0200
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id x4BKcJmm032103
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 22:38:20 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Sat, 11 May 2019 22:38:19 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: libssh2-security
In-Reply-To: <8F84B2AC-3029-45C9-91D6-F23F8FF025A8@panic.com>
Message-ID: <alpine.DEB.2.20.1905112238110.30553@tvnag.unkk.fr>
References: <alpine.DEB.2.20.1905111316510.604@tvnag.unkk.fr>
 <8F84B2AC-3029-45C9-91D6-F23F8FF025A8@panic.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4BKcLua032159

On Sat, 11 May 2019, Will Cosgrove wrote:

> Feel free to add me to the list.

Added!

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Sat May 11 22:41:30 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4BKfM18003415;
	Sat, 11 May 2019 22:41:30 +0200
Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com
 [IPv6:2a00:1450:4864:20:0:0:0:342])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4BKfKeL003308
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 22:41:21 +0200
Received: by mail-wm1-x342.google.com with SMTP id o189so10459313wmb.1
 for <libssh2-devel@cool.haxx.se>; Sat, 11 May 2019 13:41:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:mime-version:subject:message-id:date:to;
 bh=EHycVo/wC/PPR8k+4M/alkoNKLyT6XjPsS/TPCFvDhU=;
 b=JEfw9duwrKIw4xnEX+A6YiX/Z86JfGLO61LdwdMy1FtO0xtySNGroQIDLuj8zQumo8
 q19kbqBcjeGEz6cuLI1YFD8pwAdOjQJX7ZbGv/DxSbT/mUIWFQ/ijaPiePFxqfqDWtHd
 eQpR89EQ0l63+ibh+vYLM7yDSYuz2FXtGSEMxqqsfo2BHzM52Swvj+aH58ZY/qOfTz4z
 347VgLwXZg6OmUnDcQCeZikyg49R3B3HXQU+kSF6bcum6D0bWOFayOsNyn3aAydTfgmX
 z3VJuROBM7E/o8gwnuXDtLPbP6Og16YkXzAL2mZwr1UFphhwKxAxzhZ5bB1uCNbgLcqP
 a3bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:mime-version:subject:message-id:date:to;
 bh=EHycVo/wC/PPR8k+4M/alkoNKLyT6XjPsS/TPCFvDhU=;
 b=I3Mp51j0cgHFRVaUleY0OHT/mf1wTV5FaHildqvurV0BdVqAmCEeO1FKhoRupUSuGv
 jjgv+CPf8y6ygez7/AbFwQoI3w1hqz8TLx+r6UCHBjc/FGPeeQpD4aFEtdp+Bp3T1HEd
 69SKoMaCK3TNw5xgoayYmZjqXZLSPorrdNDeyzv0f1hhVHzZhINWdvmrNYZRfM4Jaonp
 YsLTfQwLwayfuXdwfWu0rNdKsIOkQk0TpDivdDVJGA0qx6McbGdNJdnm7nCys1vDSQSM
 SXxB5e2KgKGc7Ekvtj59bLqiXNc1LaXjweCWhN+Svbg734eImIp9AhPuxFLdYm2rTAEE
 N6cw==
X-Gm-Message-State: APjAAAXgvh9LTeMQglKBmT2clR7mariCbLXa27qKKQmA95Kacxclyty/
 lH6O5/Cxz+O64hBGBF4xonWCnIEMwfc=
X-Google-Smtp-Source: APXvYqzAxKVsBPZYJe+fO9sNxKCa0cgLAzv3PBmAtxEe1dmZae8byCE5VbmO7Zia/DDpYiEUrvFFsg==
X-Received: by 2002:a1c:ef0c:: with SMTP id n12mr7606503wmh.110.1557607276872; 
 Sat, 11 May 2019 13:41:16 -0700 (PDT)
Received: from [192.168.0.11] (lns-bzn-35-82-250-253-172.adsl.proxad.net.
 [82.250.253.172])
 by smtp.gmail.com with ESMTPSA id 15sm7329683wmg.36.2019.05.11.13.41.15
 for <libssh2-devel@cool.haxx.se>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sat, 11 May 2019 13:41:16 -0700 (PDT)
From: Etienne Samson <samson.etienne@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Subject: Future directions
Message-Id: <953A022B-C73A-4239-8CF0-257C23DCCA5D@gmail.com>
Date: Sat, 11 May 2019 22:41:14 +0200
To: libssh2-devel@cool.haxx.se
X-Mailer: Apple Mail (2.3445.104.8)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1304736080=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============1304736080==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_6E666185-E6D3-4137-9210-D2F16ECD89B9"


--Apple-Mail=_6E666185-E6D3-4137-9210-D2F16ECD89B9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hello,

As some of you may be aware, I've been prodding at the code for a few =
months now, with quite a few "projects" at hand. I'm one of the current =
libgit2 maintainers, and we're using libssh2 as part of our SSH =
transport. Since right now maintainership time is kinda limited, and it =
can get far-reaching (and I've been asked to present it on the list), =
here I am.

I've got one open PR (https://github.com/libssh2/libssh2/pull/243 =
<https://github.com/libssh2/libssh2/pull/243>) that "overhauls" the CI =
system to use clar https://github.com/vmg/clar =
<https://github.com/vmg/clar>, which is the C "library" we use to write =
test cases, and was in the process of porting some of the examples to it =
(separate branch).
It does a valgrind run, which is nice, on all "buildable" backends, the =
downside is that it completely ignores autotools (which is otherwise =
fine).
Note that, currently, only the mbedTLS backend survives Valgrind.  More =
details from Travis, but they might be out of date :
https://travis-ci.org/tiennou/libssh2/jobs/521032184#L736 =
<https://travis-ci.org/tiennou/libssh2/jobs/521032184#L736>
https://travis-ci.org/tiennou/libssh2/jobs/521032188#L884 =
<https://travis-ci.org/tiennou/libssh2/jobs/521032188#L884>

I've also "decided" that "struct string_buf" was to become our "git_buf" =
(https://libgit2.org/libgit2/#HEAD/type/git_buf =
<https://libgit2.org/libgit2/#HEAD/type/git_buf>), and started to use it =
as such, in the hope that its use could make memory ownership more =
"apparent" (I mean that, sometimes, even after taking a long look at a =
malloc call, with all the async code around, I feel like a quantum =
physicist and its proverbial cat). So some later PRs can have a =
dependency on this one.

On top of that, I've resurrected my "crypto backend" branch (at =
https://github.com/tiennou/libssh2/tree/fix/crypto/backend =
<https://github.com/tiennou/libssh2/tree/fix/crypto/backend>), which is =
an attempt at making the various backends more uniform (at least now an =
API difference results in the compiler complaining).

Then there's the half-done stuff, one that abstracts over the crypto =
digests, one that DRY up users of those digests that can actually =
benefit (a *good* chunk of code in kex.c), one that tries to make the =
PEM parsing consistent (my original test suite problem), and various =
other WIP things that bothered me along the journey.

So, well, there's a bunch, there's a release looming, some bugfixes left =
to do, I understand this might be out of scope, but let's keep the ball =
rolling, is there interest in things like those ? Should I tentatively =
file PRs/RFC for those ?

Regards,
Etienne Samson
--
samson.etienne@gmail.com


--Apple-Mail=_6E666185-E6D3-4137-9210-D2F16ECD89B9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Hello,<div class=3D""><br class=3D""></div><div class=3D"">As =
some of you may be aware, I've been prodding at the code for a few =
months now, with quite a few "projects" at hand. I'm one of the current =
libgit2 maintainers, and we're using libssh2 as part of our SSH =
transport. Since right now maintainership time is kinda limited, and it =
can get far-reaching (and I've been asked to present it on the list), =
here I am.</div><div class=3D""><br class=3D""></div><div class=3D"">I've =
got one open PR (<a href=3D"https://github.com/libssh2/libssh2/pull/243" =
class=3D"">https://github.com/libssh2/libssh2/pull/243</a>) that =
"overhauls" the CI system to use clar&nbsp;<a =
href=3D"https://github.com/vmg/clar" =
class=3D"">https://github.com/vmg/clar</a>, which is the C "library" we =
use to write test cases, and was in the process of porting some of the =
examples to it (separate branch).</div><div class=3D"">It does a =
valgrind run, which is nice, on all "buildable" backends, the downside =
is that it completely ignores autotools (which is otherwise =
fine).</div><div class=3D"">Note that, currently, only the mbedTLS =
backend survives Valgrind. &nbsp;More details from Travis, but they =
might be out of date :</div><div class=3D""><a =
href=3D"https://travis-ci.org/tiennou/libssh2/jobs/521032184#L736" =
class=3D"">https://travis-ci.org/tiennou/libssh2/jobs/521032184#L736</a></=
div><div class=3D""><a =
href=3D"https://travis-ci.org/tiennou/libssh2/jobs/521032188#L884" =
class=3D"">https://travis-ci.org/tiennou/libssh2/jobs/521032188#L884</a></=
div><div class=3D""><br class=3D""></div><div class=3D"">I've also =
"decided" that "struct string_buf" was to become our "git_buf" (<a =
href=3D"https://libgit2.org/libgit2/#HEAD/type/git_buf" =
class=3D"">https://libgit2.org/libgit2/#HEAD/type/git_buf</a>), and =
started to use it as such, in the hope that its use could make memory =
ownership more "apparent" (I mean that, sometimes, even after taking a =
long look at a malloc call, with all the async code around, I feel like =
a quantum physicist and its proverbial cat). So some later PRs can have =
a dependency on this one.</div><div class=3D""><br class=3D""></div><div =
class=3D"">On top of that, I've resurrected my "crypto backend" branch =
(at&nbsp;<a =
href=3D"https://github.com/tiennou/libssh2/tree/fix/crypto/backend" =
class=3D"">https://github.com/tiennou/libssh2/tree/fix/crypto/backend</a>)=
, which is an attempt at making the various backends more uniform (at =
least now an API difference results in the compiler =
complaining).</div><div class=3D""><br class=3D""></div><div =
class=3D"">Then there's the half-done stuff, one that abstracts over the =
crypto digests, one that DRY up users of those digests that can actually =
benefit (a *good* chunk of code in kex.c), one that tries to make the =
PEM parsing consistent (my original test suite problem), and various =
other WIP things that bothered me along the journey.</div><div =
class=3D""><br class=3D""></div><div class=3D"">So, well, there's a =
bunch, there's a release looming, some bugfixes left to do, I understand =
this might be out of scope, but let's keep the ball rolling, is there =
interest in things like those ? Should I tentatively file PRs/RFC for =
those ?</div><div class=3D""><br class=3D""><div class=3D"">
<span class=3D"Apple-style-span" style=3D"border-collapse: separate; =
color: rgb(0, 0, 0); font-variant-ligatures: normal; =
font-variant-east-asian: normal; font-variant-position: normal; =
line-height: normal; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none;"><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; " class=3D""><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; color: rgb(0, 0, 0); font-family: =
Helvetica; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; orphans: 2; =
text-align: -webkit-auto; text-indent: 0px; text-transform: none; =
white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px;  "><div style=3D"word-wrap: =
break-word; -webkit-nbsp-mode: space; -webkit-line-break: =
after-white-space; " class=3D""><div class=3D"">Regards,</div><div =
class=3D"">Etienne Samson</div><div class=3D"">--</div><div class=3D""><a =
href=3D"mailto:samson.etienne@gmail.com" =
class=3D"">samson.etienne@gmail.com</a></div></div></span></div></span>
</div>


<br class=3D""></div></body></html>=

--Apple-Mail=_6E666185-E6D3-4137-9210-D2F16ECD89B9--

--===============1304736080==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1304736080==--

From libssh2-devel-bounces@cool.haxx.se  Mon May 13 15:13:25 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4DDBpBL001044;
	Mon, 13 May 2019 15:13:19 +0200
Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com
 [IPv6:2a00:1450:4864:20:0:0:0:443])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4DDBn85000912
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 15:11:49 +0200
Received: by mail-wr1-x443.google.com with SMTP id v11so15225065wru.5
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 06:11:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=to:from:subject:message-id:date:user-agent:mime-version
 :content-language;
 bh=/CAMLGJOCmHCe12eV3drbNQ+j67aTr+SVaZW6XltPzo=;
 b=nxNLU0MEUid32iOQHDGKiJPtEsqQ+VqKqsKvq31SLHLbodyXAtvuBp1CgHafa+z9VQ
 XpZ6X7CiyWowOG67prpTWKRS1Rpp3e+clZpvfh/9Ghtjr9I8a8ZfBkNeY3d7WlV7R4oi
 zdfVaJorsSScs7uB2Bxb+XGWKPvq0bv/RLLQ3vJhPDCqMklqyzDYP6ajzSSIGWTwUnBo
 C/xEkO8+2XazFybuseoRtE+FG9TwnhL7LixzWG+YVkGY3jJQgTYwDUcF9rET8iconKDq
 lpJxvJEcdTZdvGV3hBO65kNzuxCaMjDNwVKZpX7OxzJ4Iq2M/40xtMpR2nyrpKpZ4/8o
 kSNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-language;
 bh=/CAMLGJOCmHCe12eV3drbNQ+j67aTr+SVaZW6XltPzo=;
 b=Xh+Jm+sabVRN0UKNkBZ16oazy+NaTQuxNTTQEzLlv9avy0NvVixOkErCJbqGfOJBE9
 cBIZdmr5udJk3ThMPsjZ1dZ0UlOueado3OUTNeOgy5HwCMpZ8qfU3rcx98gqAz1kxF5h
 JAQjKystEJBYgAqVlHlCdW7zlSPne1d+ajjMWlbxXCy0yT28NmBGIzo/i9Rg+0wDICad
 e2uMRqgRrYwOaXGkVIhgr0owLKq2TkKP3e4Nw1I7woqxm4HGGTgzeXjVEjq643rQRx3t
 8fTDCuGzMfneFWiNlUiDe4k+1pvLNzzksdLKjxLYxM0ZMr8ZRgHsrg20K2eRICAu+n5I
 eAaA==
X-Gm-Message-State: APjAAAVWiPdqP8/L8jgYyq3AYggufXgBniVQoXLGOomQv4WZMSB5f5eV
 C4K3083PEYzC34WM1GZV2ztztMjo
X-Google-Smtp-Source: APXvYqwQWYjqVEP08LZ6wbB459TyXzIEpPdl7N2flg7p3zoi89G1zhwrx5Zays/GwGqwm9TbIVzC1w==
X-Received: by 2002:adf:f74f:: with SMTP id z15mr16995168wrp.282.1557753104662; 
 Mon, 13 May 2019 06:11:44 -0700 (PDT)
Received: from [192.168.1.102] ([37.61.152.94])
 by smtp.gmail.com with ESMTPSA id r14sm4632409wrm.21.2019.05.13.06.11.43
 for <libssh2-devel@cool.haxx.se>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 13 May 2019 06:11:44 -0700 (PDT)
To: libssh2-devel@cool.haxx.se
From: "rollastre@gmail.com" <rollastre@gmail.com>
Subject: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b) and
 XCode 10.2?
Message-ID: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
Date: Mon, 13 May 2019 15:11:44 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
Content-Language: en-US
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1732468862=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

This is a multi-part message in MIME format.
--===============1732468862==
Content-Type: multipart/alternative;
 boundary="------------ACE86F35C1631EA03701F39C"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------ACE86F35C1631EA03701F39C
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

Hi list.

I have managed to build libssh2 in a variety of environments (android 
clang, linux gcc, windows mvc, macos clang) and I am completely unable 
to build it for iOS 12.2 (didn't try to do it in an older version) with 
the specs of the subject (OpenSSL 1.1.1a or 1.1.1b, XCode 10.2.

I doesn't matter what I try. Building it manually, using this iSSH2 
script (https://github.com/Frugghi/iSSH2 
<https://github.com/Frugghi/iSSH2>), etc. It always fails. From syntax 
errors like the following


CompileC 
build/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agent.o 
src/agent.c normal armv7 c com.apple.compilers.llvm.clang.1_0.compiler
     cd /tmp/libssh2-1.8.0
     
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang 
-x c -arch armv7 -fmessage-length=181 
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 
-fcolor-diagnostics -Wno-trigraphs -fpascal-strings -O3 
-Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type 
-Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function 
-Wno-unused-label -Wno-unused-parameter -Wno-unused-variable 
-Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas 
-Wno-shadow -Wno-four-char-constants -Wno-conversion 
-Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion 
-Wno-enum-conversion -Wno-float-conversion 
-Wno-non-literal-null-conversion -Wno-objc-literal-conversion 
-Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof 
-DCMAKE_INTDIR=\"Release-iphoneos\" -DLIBSSH2_OPENSSL 
-DLIBSSH2_DH_GEX_NEW=1 -DLIBSSH2_CLEAR_MEMORY -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk 
-fstrict-aliasing -Wdeprecated-declarations -miphoneos-version-min=10.0 
-Wno-sign-conversion -Wno-infinite-recursion -Wno-comma 
-Wno-block-capture-autoreleasing -Wno-strict-prototypes 
-Wno-semicolon-before-method-body -fembed-bitcode-marker 
-I/tmp/libssh2-1.8.0/build/src/Release-iphoneos/include 
-I/Users/jaume/Documents/dev/openssl-build-xcrun-ios/include 
-I/tmp/libssh2-1.8.0/include -I/tmp/libssh2-1.8.0/build/src 
-I/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/DerivedSources-normal/armv7 
-I/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/DerivedSources/armv7 
-I/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/DerivedSources 
-Wmost -Wno-four-char-constants -Wno-unknown-pragmas 
-F/tmp/libssh2-1.8.0/build/src/Release-iphoneos -DNDEBUG -std=gnu90 -MMD 
-MT dependencies -MF 
/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agent.d 
--serialize-diagnostics 
/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agent.dia 
-c /tmp/libssh2-1.8.0/src/agent.c -o 
/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agent.o
In file included from /tmp/libssh2-1.8.0/src/agent.c:40:
In file included from /tmp/libssh2-1.8.0/src/libssh2_priv.h:44:
/tmp/libssh2-1.8.0/build/src/libssh2_config.h:91:12: error: expected 
parameter declarator
static int snprintf(char * cp, int cp_max_len, const char * fmt, ...)
            ^

or mismatch of BITCODE being used in libssh2 and not in openssl

to link error (which is the closest I get to get it built) like this

[100%] Linking C shared library ../../lib/libssh2.dylib
ld: warning: -headerpad_max_install_names is ignored when used with 
-bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
Undefined symbols for architecture armv7:
   "_ENGINE_load_builtin_engines", referenced from:
       _libssh2_init in global.c.o
       __libssh2_init_if_needed in global.c.o
   "_ENGINE_register_all_complete", referenced from:
       _libssh2_init in global.c.o
       __libssh2_init_if_needed in global.c.o
ld: symbol(s) not found for architecture armv7

which normally means that the dependency (openssl) wasn't build for 
armv7, but

$ lipo -info libcrypto.a
Architectures in the fat file: libcrypto.a are: armv7 armv7s x86_64 arm64
$ lipo -info libssl.a
Architectures in the fat file: libssl.a are: armv7 armv7s x86_64 arm64

so, not the case either.

I ran out of ideas and I wonder if it is just not possible to do what I 
am trying to.

Anybody knows if it is possible and can enlighten me, please?
Thanks in advance.


--------------ACE86F35C1631EA03701F39C
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div dir="ltr">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hi list.</div>
              <div><br>
              </div>
              <div>I have managed to build libssh2 in a variety of
                environments (android clang, linux gcc, windows mvc,
                macos clang) and I am completely unable to build it for
                iOS 12.2 (didn't try to do it in an older version) with
                the specs of the subject (OpenSSL 1.1.1a or 1.1.1b,
                XCode 10.2.</div>
              <div><br>
              </div>
              <div>I doesn't matter what I try. Building it manually,
                using this iSSH2 script (<a
                  href="https://github.com/Frugghi/iSSH2"
                  target="_blank"
data-saferedirecturl="https://www.google.com/url?q=https://github.com/Frugghi/iSSH2&amp;source=gmail&amp;ust=1557839352394000&amp;usg=AFQjCNF2FcK8K4K35UcqJX4yigJm6je7Yw">https://github.com/Frugghi/<wbr>iSSH2</a>),
                etc. It always fails. From syntax errors like the
                following</div>
              <div><br>
              </div>
              <div><br>
                CompileC build/src/libssh2.build/<wbr>Release-iphoneos/libssh2.<wbr>build/Objects-normal/armv7/<wbr>agent.o
                src/agent.c normal armv7 c com.apple.compilers.llvm.<wbr>clang.1_0.compiler<br>
                    cd /tmp/libssh2-1.8.0<br>
                    /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/clang
                -x c -arch armv7 -fmessage-length=181
                -fdiagnostics-show-note-<wbr>include-stack
                -fmacro-backtrace-limit=0 -fcolor-diagnostics
                -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-<wbr>initializers
                -Wno-missing-prototypes -Wno-return-type
                -Wno-missing-braces -Wparentheses -Wswitch
                -Wno-unused-function -Wno-unused-label
                -Wno-unused-parameter -Wno-unused-variable
                -Wunused-value -Wno-empty-body -Wno-uninitialized
                -Wno-unknown-pragmas -Wno-shadow
                -Wno-four-char-constants -Wno-conversion
                -Wno-constant-conversion -Wno-int-conversion
                -Wno-bool-conversion -Wno-enum-conversion
                -Wno-float-conversion -Wno-non-literal-null-<wbr>conversion
                -Wno-objc-literal-conversion -Wno-shorten-64-to-32
                -Wpointer-sign -Wno-newline-eof
                -DCMAKE_INTDIR=\"Release-<wbr>iphoneos\"
                -DLIBSSH2_OPENSSL -DLIBSSH2_DH_GEX_NEW=1
                -DLIBSSH2_CLEAR_MEMORY -isysroot
                /Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>iPhoneOS.platform/Developer/<wbr>SDKs/iPhoneOS12.2.sdk
                -fstrict-aliasing -Wdeprecated-declarations
                -miphoneos-version-min=10.0 -Wno-sign-conversion
                -Wno-infinite-recursion -Wno-comma -Wno-block-capture-<wbr>autoreleasing
                -Wno-strict-prototypes -Wno-semicolon-before-method-<wbr>body
                -fembed-bitcode-marker -I/tmp/libssh2-1.8.0/build/<wbr>src/Release-iphoneos/include
                -I/Users/jaume/Documents/dev/<wbr>openssl-build-xcrun-ios/<wbr>include
                -I/tmp/libssh2-1.8.0/include
                -I/tmp/libssh2-1.8.0/build/src
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources-normal/armv7
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources/armv7
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources
                -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
                -F/tmp/libssh2-1.8.0/build/<wbr>src/Release-iphoneos
                -DNDEBUG -std=gnu90 -MMD -MT dependencies -MF
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.d
                --serialize-diagnostics /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.dia
                -c /tmp/libssh2-1.8.0/src/agent.c -o
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.o<br>
                In file included from /tmp/libssh2-1.8.0/src/agent.<wbr>c:40:<br>
                In file included from /tmp/libssh2-1.8.0/src/<wbr>libssh2_priv.h:44:<br>
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2_config.h:91:12:
                error: expected parameter declarator<br>
                static int snprintf(char * cp, int cp_max_len, const
                char * fmt, ...)<br>
                           ^<br>
              </div>
              <div><br>
              </div>
              <div>or mismatch of BITCODE being used in libssh2 and not
                in openssl</div>
              <div><br>
              </div>
              <div>to link error (which is the closest I get to get it
                built) like this</div>
              <div><br>
              </div>
              <div>[100%] Linking C shared library
                ../../lib/libssh2.dylib<br>
                ld: warning: -headerpad_max_install_names is ignored
                when used with -bitcode_bundle (Xcode setting
                ENABLE_BITCODE=YES)<br>
                Undefined symbols for architecture armv7:<br>
                  "_ENGINE_load_builtin_engines"<wbr>, referenced from:<br>
                      _libssh2_init in global.c.o<br>
                      __libssh2_init_if_needed in global.c.o<br>
                  "_ENGINE_register_all_<wbr>complete", referenced from:<br>
                      _libssh2_init in global.c.o<br>
                      __libssh2_init_if_needed in global.c.o<br>
                ld: symbol(s) not found for architecture armv7</div>
              <div><br>
              </div>
              <div>which normally means that the dependency (openssl)
                wasn't build for armv7, but</div>
              <div><br>
              </div>
              <div>$ lipo -info libcrypto.a <br>
                Architectures in the fat file: libcrypto.a are: armv7
                armv7s x86_64 arm64 <br>
                $ lipo -info libssl.a <br>
                Architectures in the fat file: libssl.a are: armv7
                armv7s x86_64 arm64 </div>
              <div><br>
              </div>
              <div>so, not the case either.</div>
              <div><br>
              </div>
              <div>I ran out of ideas and I wonder if it is just not
                possible to do what I am trying to.</div>
              <div><br>
              </div>
              <div>Anybody knows if it is possible and can enlighten me,
                please?</div>
              <div>Thanks in advance.
                <div class="adL"><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>

--------------ACE86F35C1631EA03701F39C--

--===============1732468862==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1732468862==--

From libssh2-devel-bounces@cool.haxx.se  Mon May 13 15:18:00 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4DDGrbG005434;
	Mon, 13 May 2019 15:18:00 +0200
Received: from giant.haxx.se (mail [127.0.0.1])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4DDGpmd005422
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 15:16:51 +0200
Received: from localhost (dast@localhost)
 by giant.haxx.se (8.15.2/8.15.2/Submit) with ESMTP id x4DDGpAf005407
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 15:16:51 +0200
X-Authentication-Warning: giant.haxx.se: dast owned process doing -bs
Date: Mon, 13 May 2019 15:16:51 +0200 (CEST)
From: Daniel Stenberg <daniel@haxx.se>
X-X-Sender: dast@giant.haxx.se
To: libssh2 development <libssh2-devel@cool.haxx.se>
Subject: Re: Future directions
In-Reply-To: <953A022B-C73A-4239-8CF0-257C23DCCA5D@gmail.com>
Message-ID: <alpine.DEB.2.20.1905131508590.30553@tvnag.unkk.fr>
References: <953A022B-C73A-4239-8CF0-257C23DCCA5D@gmail.com>
User-Agent: Alpine 2.20 (DEB 67 2015-01-07)
X-fromdanielhimself: yes
MIME-Version: 1.0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4DDGrbG005434

On Sat, 11 May 2019, Etienne Samson wrote:

> So, well, there's a bunch, there's a release looming, some bugfixes left to 
> do, I understand this might be out of scope, but let's keep the ball 
> rolling, is there interest in things like those ? Should I tentatively file 
> PRs/RFC for those ?

From my point of view these all sound like Good Things.

As you probably have noticed, we have a small problem with maintainer presence 
(myself included) in the project so getting someone to actually review your 
code and merge it might not be a quick operation...

-- 

  / daniel.haxx.se
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Mon May 13 17:27:38 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4DFQCYl011154;
	Mon, 13 May 2019 17:27:31 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4DFQ7AA011105
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 17:26:09 +0200
Received: from [192.168.1.121] (c-24-22-78-147.hsd1.wa.comcast.net
 [24.22.78.147])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id 9DD10440
 for <libssh2-devel@cool.haxx.se>; Mon, 13 May 2019 08:26:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=dkim;
 t=1557761162; bh=7D/n2IZtrD/Qv7utVTIvS0GrsA9AL/jR2NRMuiH64bM=;
 h=From:Date:Subject:References:In-Reply-To:To;
 b=sYSaNbHPRRUdP5VoPcxxoprlnQz7Oh4AXQBu8YfxYjXTae/HxG6TjA93bXS3YFGSL
 ZDzN/YPsMAchFvt0ZjZCSNJGimaTC+JFfA6DEp2IezM7aaaxXdTzu/wibLvygGxxgk
 oyO5VxP1ZpkFMO1CN3fonfsaU5G/CIxZj6qez5z0=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (1.0)
Date: Mon, 13 May 2019 08:26:01 -0700
Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b)
 and XCode 10.2?
Message-Id: <48B743A3-CC5C-46D9-A72F-58E177DD61D2@panic.com>
References: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
In-Reply-To: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: iPhone Mail (16E227)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1074269382=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============1074269382==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-BC58FBB4-1AC3-4AD1-AA0B-725527038008
Content-Transfer-Encoding: 7bit


--Apple-Mail-BC58FBB4-1AC3-4AD1-AA0B-725527038008
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

It looks like you're linking against the system OpenSSL (which is libreSSL) a=
nd doesn't include the OpenSSL 1.1 functions needed.=20

We build OpenSSL 1.1.1 from source and then link it directly in our xcode pr=
oject which builds libssh2. So it is possible, just tricky.=20

Will

> On May 13, 2019, at 6:11 AM, "rollastre@gmail.com" <rollastre@gmail.com> w=
rote:
>=20
> Hi list.
>=20
> I have managed to build libssh2 in a variety of environments (android clan=
g, linux gcc, windows mvc, macos clang) and I am completely unable to build i=
t for iOS 12.2 (didn't try to do it in an older version) with the specs of t=
he subject (OpenSSL 1.1.1a or 1.1.1b, XCode 10.2.
>=20
> I doesn't matter what I try. Building it manually, using this iSSH2 script=
 (https://github.com/Frugghi/iSSH2), etc. It always fails. =46rom syntax err=
ors like the following
>=20
>=20
> CompileC build/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-no=
rmal/armv7/agent.o src/agent.c normal armv7 c com.apple.compilers.llvm.clang=
.1_0.compiler
>     cd /tmp/libssh2-1.8.0
>     /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xct=
oolchain/usr/bin/clang -x c -arch armv7 -fmessage-length=3D181 -fdiagnostics=
-show-note-include-stack -fmacro-backtrace-limit=3D0 -fcolor-diagnostics -Wn=
o-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missin=
g-prototypes -Wno-return-type                 -Wno-missing-braces -Wparenthe=
ses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -W=
no-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-un=
known-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-cons=
tant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversio=
n -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-c=
onversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTD=
IR=3D\"Release-iphoneos\" -DLIBSSH2_OPENSSL -DLIBSSH2_DH_GEX_NEW=3D1 -DLIBSS=
H2_CLEAR_MEMORY -isysroot /Applications/Xcode.app/Contents/Developer/Platfor=
ms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -fstrict-aliasing -Wdep=
recated-declarations -miphoneos-version-min=3D10.0 -Wno-sign-conversion -Wno=
-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-=
prototypes -Wno-semicolon-before-method-body -fembed-bitcode-marker -I/tmp/l=
ibssh2-1.8.0/build/src/Release-iphoneos/include -I/Users/jaume/Documents/dev=
/openssl-build-xcrun-ios/include -I/tmp/libssh2-1.8.0/include -I/tmp/libssh2=
-1.8.0/build/src -I/tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphone=
os/libssh2.build/DerivedSources-normal/armv7 -I/tmp/libssh2-1.8.0/build/src/=
libssh2.build/Release-iphoneos/libssh2.build/DerivedSources/armv7 -I/tmp/lib=
ssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/DerivedSou=
rces -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/tmp/libssh2-1.8=
.0/build/src/Release-iphoneos -DNDEBUG -std=3Dgnu90 -MMD -MT dependencies -M=
F /tmp/libssh2-1.8.0/build/src/libssh2.build/Release-iphoneos/libssh2.build/=
Objects-normal/armv7/agent.d --serialize-diagnostics /tmp/libssh2-1.8.0/buil=
d/src/libssh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agen=
t.dia -c /tmp/libssh2-1.8.0/src/agent.c -o /tmp/libssh2-1.8.0/build/src/libs=
sh2.build/Release-iphoneos/libssh2.build/Objects-normal/armv7/agent.o
> In file included from /tmp/libssh2-1.8.0/src/agent.c:40:
> In file included from /tmp/libssh2-1.8.0/src/libssh2_priv.h:44:
> /tmp/libssh2-1.8.0/build/src/libssh2_config.h:91:12: error: expected param=
eter declarator
> static int snprintf(char * cp, int cp_max_len, const char * fmt, ...)
>            ^
>=20
> or mismatch of BITCODE being used in libssh2 and not in openssl
>=20
> to link error (which is the closest I get to get it built) like this
>=20
> [100%] Linking C shared library ../../lib/libssh2.dylib
> ld: warning: -headerpad_max_install_names is ignored when used with -bitco=
de_bundle (Xcode setting ENABLE_BITCODE=3DYES)
> Undefined symbols for architecture armv7:
>   "_ENGINE_load_builtin_engines", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
>   "_ENGINE_register_all_complete", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
> ld: symbol(s) not found for architecture armv7
>=20
> which normally means that the dependency (openssl) wasn't build for armv7,=
 but
>=20
> $ lipo -info libcrypto.a=20
> Architectures in the fat file: libcrypto.a are: armv7 armv7s x86_64 arm64=20=

> $ lipo -info libssl.a=20
> Architectures in the fat file: libssl.a are: armv7 armv7s x86_64 arm64=20
>=20
> so, not the case either.
>=20
> I ran out of ideas and I wonder if it is just not                 possible=
 to do what I am trying to.
>=20
> Anybody knows if it is possible and can enlighten me, please?
> Thanks in advance.
>=20
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

--Apple-Mail-BC58FBB4-1AC3-4AD1-AA0B-725527038008
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: 7bit

<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">It looks like you're linking against the system OpenSSL (which is libreSSL) and doesn't include the OpenSSL 1.1 functions needed.&nbsp;</div><div dir="ltr"><br></div><div dir="ltr">We build OpenSSL 1.1.1 from source and then link it directly in our xcode project which builds libssh2. So it is possible, just tricky.&nbsp;</div><div dir="ltr"><br></div><div dir="ltr">Will</div><div dir="ltr"><br>On May 13, 2019, at 6:11 AM, "<a href="mailto:rollastre@gmail.com">rollastre@gmail.com</a>" &lt;<a href="mailto:rollastre@gmail.com">rollastre@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div dir="ltr">
  

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  
  
    <div dir="ltr">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">
            <div dir="ltr">
              <div>Hi list.</div>
              <div><br>
              </div>
              <div>I have managed to build libssh2 in a variety of
                environments (android clang, linux gcc, windows mvc,
                macos clang) and I am completely unable to build it for
                iOS 12.2 (didn't try to do it in an older version) with
                the specs of the subject (OpenSSL 1.1.1a or 1.1.1b,
                XCode 10.2.</div>
              <div><br>
              </div>
              <div>I doesn't matter what I try. Building it manually,
                using this iSSH2 script (<a href="https://github.com/Frugghi/iSSH2" target="_blank" data-saferedirecturl="https://www.google.com/url?q=https://github.com/Frugghi/iSSH2&amp;source=gmail&amp;ust=1557839352394000&amp;usg=AFQjCNF2FcK8K4K35UcqJX4yigJm6je7Yw">https://github.com/Frugghi/<wbr>iSSH2</a>),
                etc. It always fails. From syntax errors like the
                following</div>
              <div><br>
              </div>
              <div><br>
                CompileC build/src/libssh2.build/<wbr>Release-iphoneos/libssh2.<wbr>build/Objects-normal/armv7/<wbr>agent.o
                src/agent.c normal armv7 c com.apple.compilers.llvm.<wbr>clang.1_0.compiler<br>
                &nbsp;&nbsp;&nbsp; cd /tmp/libssh2-1.8.0<br>
                &nbsp;&nbsp;&nbsp; /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/clang
                -x c -arch armv7 -fmessage-length=181
                -fdiagnostics-show-note-<wbr>include-stack
                -fmacro-backtrace-limit=0 -fcolor-diagnostics
                -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-<wbr>initializers
                -Wno-missing-prototypes -Wno-return-type
                -Wno-missing-braces -Wparentheses -Wswitch
                -Wno-unused-function -Wno-unused-label
                -Wno-unused-parameter -Wno-unused-variable
                -Wunused-value -Wno-empty-body -Wno-uninitialized
                -Wno-unknown-pragmas -Wno-shadow
                -Wno-four-char-constants -Wno-conversion
                -Wno-constant-conversion -Wno-int-conversion
                -Wno-bool-conversion -Wno-enum-conversion
                -Wno-float-conversion -Wno-non-literal-null-<wbr>conversion
                -Wno-objc-literal-conversion -Wno-shorten-64-to-32
                -Wpointer-sign -Wno-newline-eof
                -DCMAKE_INTDIR=\"Release-<wbr>iphoneos\"
                -DLIBSSH2_OPENSSL -DLIBSSH2_DH_GEX_NEW=1
                -DLIBSSH2_CLEAR_MEMORY -isysroot
                /Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>iPhoneOS.platform/Developer/<wbr>SDKs/iPhoneOS12.2.sdk
                -fstrict-aliasing -Wdeprecated-declarations
                -miphoneos-version-min=10.0 -Wno-sign-conversion
                -Wno-infinite-recursion -Wno-comma -Wno-block-capture-<wbr>autoreleasing
                -Wno-strict-prototypes -Wno-semicolon-before-method-<wbr>body
                -fembed-bitcode-marker -I/tmp/libssh2-1.8.0/build/<wbr>src/Release-iphoneos/include
                -I/Users/jaume/Documents/dev/<wbr>openssl-build-xcrun-ios/<wbr>include
                -I/tmp/libssh2-1.8.0/include
                -I/tmp/libssh2-1.8.0/build/src
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources-normal/armv7
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources/armv7
                -I/tmp/libssh2-1.8.0/build/<wbr>src/libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>DerivedSources
                -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
                -F/tmp/libssh2-1.8.0/build/<wbr>src/Release-iphoneos
                -DNDEBUG -std=gnu90 -MMD -MT dependencies -MF
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.d
                --serialize-diagnostics /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.dia
                -c /tmp/libssh2-1.8.0/src/agent.c -o
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2.build/Release-<wbr>iphoneos/libssh2.build/<wbr>Objects-normal/armv7/agent.o<br>
                In file included from /tmp/libssh2-1.8.0/src/agent.<wbr>c:40:<br>
                In file included from /tmp/libssh2-1.8.0/src/<wbr>libssh2_priv.h:44:<br>
                /tmp/libssh2-1.8.0/build/src/<wbr>libssh2_config.h:91:12:
                error: expected parameter declarator<br>
                static int snprintf(char * cp, int cp_max_len, const
                char * fmt, ...)<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
              </div>
              <div><br>
              </div>
              <div>or mismatch of BITCODE being used in libssh2 and not
                in openssl</div>
              <div><br>
              </div>
              <div>to link error (which is the closest I get to get it
                built) like this</div>
              <div><br>
              </div>
              <div>[100%] Linking C shared library
                ../../lib/libssh2.dylib<br>
                ld: warning: -headerpad_max_install_names is ignored
                when used with -bitcode_bundle (Xcode setting
                ENABLE_BITCODE=YES)<br>
                Undefined symbols for architecture armv7:<br>
                &nbsp; "_ENGINE_load_builtin_engines"<wbr>, referenced from:<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _libssh2_init in global.c.o<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __libssh2_init_if_needed in global.c.o<br>
                &nbsp; "_ENGINE_register_all_<wbr>complete", referenced from:<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _libssh2_init in global.c.o<br>
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; __libssh2_init_if_needed in global.c.o<br>
                ld: symbol(s) not found for architecture armv7</div>
              <div><br>
              </div>
              <div>which normally means that the dependency (openssl)
                wasn't build for armv7, but</div>
              <div><br>
              </div>
              <div>$ lipo -info libcrypto.a <br>
                Architectures in the fat file: libcrypto.a are: armv7
                armv7s x86_64 arm64 <br>
                $ lipo -info libssl.a <br>
                Architectures in the fat file: libssl.a are: armv7
                armv7s x86_64 arm64&nbsp;</div>
              <div><br>
              </div>
              <div>so, not the case either.</div>
              <div><br>
              </div>
              <div>I ran out of ideas and I wonder if it is just not
                possible to do what I am trying to.</div>
              <div><br>
              </div>
              <div>Anybody knows if it is possible and can enlighten me,
                please?</div>
              <div>Thanks in advance.
                <div class="adL"><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  

</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>libssh2-devel <a href="https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel">https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a></span><br></div></blockquote></body></html>
--Apple-Mail-BC58FBB4-1AC3-4AD1-AA0B-725527038008--

--===============1074269382==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1074269382==--

From libssh2-devel-bounces@cool.haxx.se  Tue May 14 10:14:02 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4E8CPFo029796;
	Tue, 14 May 2019 10:13:52 +0200
Received: from blaine.gmane.org ([195.159.176.226])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4E8CN1g029752
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 14 May 2019 10:12:23 +0200
Received: from list by blaine.gmane.org with local (Exim 4.89)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane.org>)
 id 1hQSXt-000dtb-Sp
 for libssh2-devel@cool.haxx.se; Tue, 14 May 2019 10:12:21 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b)
 and XCode 10.2?
Date: Tue, 14 May 2019 10:12:13 +0200
Message-ID: <46tkdedebrll01e3ku6r24kcrvb50acut7@4ax.com>
References: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4E8CPFo029796

rollastre@gmail.com in
gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
>I have managed to build libssh2 in a variety of environments (android 
>clang, linux gcc, windows mvc, macos clang) and I am completely unable 
>to build it for iOS 12.2 (didn't try to do it in an older version) with 
>the specs of the subject (OpenSSL 1.1.1a or 1.1.1b, XCode 10.2.
>
>I doesn't matter what I try. Building it manually, using this iSSH2 
>script (https://github.com/Frugghi/iSSH2 
><https://github.com/Frugghi/iSSH2>), etc.

For OpenSSL 1.1.1 you will have to patch libssh2 (1.8.2):
https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf
or use my fork at https://github.com/Jan-E/iSSH2/tree/fix-openssl-1.1.1

But then it compiles fine with
./iSSH2.sh --openssl=1.1.1b --libssh2=1.8.2

See https://github.com/Frugghi/iSSH2/issues/7#issuecomment-477787612 for
the output of the build process.
-- 
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Tue May 14 10:24:58 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4E8NlLP004406;
	Tue, 14 May 2019 10:24:56 +0200
Received: from blaine.gmane.org ([195.159.176.226])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4E8NkW4004400
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Tue, 14 May 2019 10:23:46 +0200
Received: from list by blaine.gmane.org with local (Exim 4.89)
 (envelope-from <gnslg-libssh2-devel-2@m.gmane.org>)
 id 1hQSix-000qMH-An
 for libssh2-devel@cool.haxx.se; Tue, 14 May 2019 10:23:47 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: libssh2-devel@cool.haxx.se
From: Jan Ehrhardt <phpdev@ehrhardt.nl>
Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b)
 and XCode 10.2?
Date: Tue, 14 May 2019 10:23:34 +0200
Message-ID: <ocukdedspm5g2bje7t2jias7nlosc82id4@4ax.com>
References: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
Mime-Version: 1.0
X-Newsreader: Forte Agent 3.3/32.846
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4E8NlLP004406

rollastre@gmail.com in
gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
>[100%] Linking C shared library ../../lib/libssh2.dylib
>ld: warning: -headerpad_max_install_names is ignored when used with 
>-bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
>Undefined symbols for architecture armv7:
>   "_ENGINE_load_builtin_engines", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
>   "_ENGINE_register_all_complete", referenced from:
>       _libssh2_init in global.c.o
>       __libssh2_init_if_needed in global.c.o
>ld: symbol(s) not found for architecture armv7

libssh2 does not need the builtin engines. In a commit to master this
was fixed: https://github.com/libssh2/libssh2/issues/255

It is safe to remove the 2 conflicting lines in 1.8.2:
https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf
-- 
Jan

_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Wed May 15 01:07:45 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4EN67JJ008223;
	Wed, 15 May 2019 01:07:33 +0200
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com
 [IPv6:2a00:1450:4864:20:0:0:0:333])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4EN64h9008199
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 15 May 2019 01:06:04 +0200
Received: by mail-wm1-x333.google.com with SMTP id 7so642753wmo.2
 for <libssh2-devel@cool.haxx.se>; Tue, 14 May 2019 16:06:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:content-transfer-encoding:mime-version:subject:date:references
 :to:in-reply-to:message-id;
 bh=onxv6RFU6zRwrf7JGnsh8TYxXrDYKeG4CgR9ufft02Y=;
 b=aY3pAUCzXVtN3bm659N7Z8y7ttAy36RQyEBGFFqRQGKUi76ugr58yJND/g4yQ8YSWe
 I5Hvz9lR2+wSNW4eLJG0nkLihAWGmC1NXTTSiV96MjVI0Id7X/oz6Z6P142jKmEelYIi
 GNsXOqX8wlSPGLOgrMnmNypuNhPS6qOrFSAOIAdW3NMavDnsfwSTKlzkATOkUWQ2zWGX
 c8TvzyE3G94f4rRIj/Aj5IYTQKDlDdVtI53gKfB52gKkOQNUxDa8fOwXP/YRSdGfZHQe
 UiDKnRkK3qRdG1B0YXbl6pLCVQxbCSX/NNCK8/ZRqePIArToBn5UidA30M4vxT5NG1e2
 yGcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:content-transfer-encoding:mime-version
 :subject:date:references:to:in-reply-to:message-id;
 bh=onxv6RFU6zRwrf7JGnsh8TYxXrDYKeG4CgR9ufft02Y=;
 b=ZyPL50H0i7Elsh69Ga5y1JvvqTSXA3wSTwc2DcOmn3Q7uRLSFsBHE/89l5B5ukQHjs
 Ej3S/mIJuc0sXafbDS9li4tvo/4NxgVZ6k2lejTwR4Y3fqE/iEt06Jpk69mM4H76Lfyz
 2I/TG1jDeLrDUk900XIoOgPMD8HCbe6EfjVUAGuL1FxmHc4KLJ4CrSE2Fsj0jw3eu6+W
 zhxEKc+RFUMkw47BT494nndFTasfeVjEn59a6IjyL4cuXEyzfyJxQWXr/hGyxaplen6w
 g0Wy5FUcFmNIAbacwYC4cyA7lO678WT6tm2JIvkrrFvN/t7dYQMxIHdwoUpqrFJ4cCSE
 QD5Q==
X-Gm-Message-State: APjAAAWki4M/qYpEYXEEWg0QEa7TSqMDA8gEx8C5k718DS5xwImKbFHk
 Lsic23RJvN9WE6czimpfiZ6Mwac7wJE=
X-Google-Smtp-Source: APXvYqxdtufvhSOx6mC7lhXjgVeY8Uw8wc16ywD38ohmKvuXiAY2kYWCNnHgNfbeUAS9Y/HWlROwbA==
X-Received: by 2002:a7b:c0d5:: with SMTP id s21mr5966369wmh.152.1557875160836; 
 Tue, 14 May 2019 16:06:00 -0700 (PDT)
Received: from [192.168.0.11] (lns-bzn-57-82-249-56-239.adsl.proxad.net.
 [82.249.56.239])
 by smtp.gmail.com with ESMTPSA id n1sm288335wmc.19.2019.05.14.16.05.58
 for <libssh2-devel@cool.haxx.se>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 14 May 2019 16:05:59 -0700 (PDT)
From: Etienne Samson <samson.etienne@gmail.com>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\))
Subject: Re: Future directions
Date: Wed, 15 May 2019 01:05:57 +0200
References: <953A022B-C73A-4239-8CF0-257C23DCCA5D@gmail.com>
 <alpine.DEB.2.20.1905131508590.30553@tvnag.unkk.fr>
To: libssh2 development <libssh2-devel@cool.haxx.se>
In-Reply-To: <alpine.DEB.2.20.1905131508590.30553@tvnag.unkk.fr>
Message-Id: <1FE67E86-4CE9-464E-AC2E-473480155507@gmail.com>
X-Mailer: Apple Mail (2.3445.104.8)
X-MIME-Autoconverted: from quoted-printable to 8bit by giant.haxx.se id
 x4EN64h9008199
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4EN67JJ008223


> Le 13 mai 2019 à 15:16, Daniel Stenberg <daniel@haxx.se> a écrit :
> 
> On Sat, 11 May 2019, Etienne Samson wrote:
> 
>> So, well, there's a bunch, there's a release looming, some bugfixes left to do, I understand this might be out of scope, but let's keep the ball rolling, is there interest in things like those ? Should I tentatively file PRs/RFC for those ?
> 
> From my point of view these all sound like Good Things.
> 
> As you probably have noticed, we have a small problem with maintainer presence (myself included) in the project so getting someone to actually review your code and merge it might not be a quick operation...

Not an issue, I can be patient with the more major changes, so if any of you "in the know" have an idea about what you feel would be the most bang-for-the-buck in that forest of new branches, that would be much appreciated.

My current "fear" is the test suite, I don't know what's the current test regimen, but I'm having a hard time pinpointing if my "new" tests' failures are caused by one of my changes, or if that specific feature/backend combination was already shaky to begin with. Is there something more to it that I missed ?

I've just noticed that AppVeyor builds OpenSSL, not WinCNG, and that the 4 "unknown" (to me, that's neither Travis, Azure, or AppVeyor) are the one that do WinCNG. Is that normal ? I'm just completely baffled that I missed that after bashing hard against CI…

If I were to propose a roadmap, it would look like this:
- merge the clar integration (mostly done, I'm just concerned about the Valgrind failures against OpenSSL & libgcrypt). I feel that point might need some discussion about build systems, as I'm one of the "modernist", can't write as complex things as CMake allows me too, yadda-yadda, but it's not that major.

- convert as much example code to clar test cases to have a baseline (most of the basic things all have an example written).
- merge the "generic" crypto backend, reaudit all uses of the crypto so that more error checking happens (things like #179).
- fix the few API issues that cause duplication (generic digests), or strange memory semantics (the encrypt/decrypt happens in place because of OpenSSL is "the baseline", even though all other backends support it, and there's a comment about it somewhere). I also had a vision that an iovec-taking crypto digest function would simplify some code, eg. `libssh2_digest_update_v(digest_ctx *ctx, struct iovec *data, size_t count)`. Stuff like calculating digests on disparate bunch of things (the kex code has lots of this) from an incoming packet.

After that, anything goes. I'm very interested by the PEM support, because it's currently the only thing I have failing tests for. I guess that technically, anyone willing to help is welcome to take a look at the ci/testcases branch, look at the examples I've ported, and either write a green testcase using the examples or file an issue with a broken testcase 😉.

Regards,
Etienne Samson
--
samson.etienne@gmail.com
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Thu May 16 14:49:34 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4GCluHg015297;
	Thu, 16 May 2019 14:49:24 +0200
Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com
 [IPv6:2a00:1450:4864:20:0:0:0:331])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4GClt4K015234
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 16 May 2019 14:47:55 +0200
Received: by mail-wm1-x331.google.com with SMTP id t5so1991341wmh.3
 for <libssh2-devel@cool.haxx.se>; Thu, 16 May 2019 05:47:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=subject:to:references:from:message-id:date:user-agent:mime-version
 :in-reply-to:content-transfer-encoding:content-language;
 bh=92P2HtW7E0VGgBgg9+fjeuk+eCbZr7hsr9ZBZL9isms=;
 b=S+5MnQ8w2ocM/YZUtMjQtJ2u39qWSgE88l0B7F2fhL/BUkcJG8lBQeJQBgVg17ec7f
 iJOK/8ykvDqnQUKBBrLjIhNIxoBDDMXUHK5RBJqlVuO+vtDRzTIaFRT5rFwExN1nfUuy
 IxtQkrXuxDSD5+EiVwXhm3YVRGcBrpIBPUXeH9+1ziylsRL+AufixFl9FE9sQUevqxyy
 F5DptzdA3C9pANhR23t8Ywsyi/ZqaXLm+Qkbt94oC4fYzqGc1LFCLcy9Mn4Bdp1WrANQ
 ti1OH115ScZC8YnsGRwOovn+14xyBPLdJGEPjj+lfpy3h8tQjxHSJA251g8fS3BlAyz3
 9igg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-transfer-encoding
 :content-language;
 bh=92P2HtW7E0VGgBgg9+fjeuk+eCbZr7hsr9ZBZL9isms=;
 b=mT2SN9a4Gs3u9uXnqicyfKxEGCaJOJSPXajNHFzg6WZFz9rGQa062+Ph5whkGYnXKP
 nCn6GDhbmKOZtJJmzPuCtpbAT2UgzZoEgbua1RlKid1iiWfSmRW79rjAluVWES8i5++K
 wZfSceW0GU0SmuoR8Tou0vcDsSc1Tr8Xg3MX31v+2VmzxB8LdrXbTQ1f0yKLUNFmGPwJ
 8LM8/PRpm2zxLWBWddXVQGFfAxQ9NGHs93SjWb+YkGxnSvHUnEZa24pL6aPaDZOnCtws
 wTDHFv3J5hHOUBme+ESSzpf8/NtSgFnRwbBAg2voouD80O6aqrdVmbypqssOHItz5a71
 rkSg==
X-Gm-Message-State: APjAAAWiR9lMBtA8xWpteqV57onXG4GUJ+uKxu0XyUYu2bNuao5Ax50w
 GP1mNnPchnIVYqjH/UlzoN8I33zr
X-Google-Smtp-Source: APXvYqyn1Mkk4MqDWh10mbexviVZkshTkhbEj0L2MSrQKPH+B6/U8PhLfhsBEExbM93Q5vTFlRy2rw==
X-Received: by 2002:a05:600c:2058:: with SMTP id
 p24mr13719878wmg.42.1558010871299; 
 Thu, 16 May 2019 05:47:51 -0700 (PDT)
Received: from [192.168.1.102] ([37.61.152.94])
 by smtp.gmail.com with ESMTPSA id m8sm8488505wrg.18.2019.05.16.05.47.50
 for <libssh2-devel@cool.haxx.se>
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 16 May 2019 05:47:50 -0700 (PDT)
Subject: Re: does libssh2 build for iOS 12.2 (with OpenSSL 1.1.1a or 1.1.1b)
 and XCode 10.2?
To: libssh2-devel@cool.haxx.se
References: <4968d56e-7b7f-5ebf-47f1-26882e19212d@gmail.com>
 <ocukdedspm5g2bje7t2jias7nlosc82id4@4ax.com>
From: "rollastre@gmail.com" <rollastre@gmail.com>
Message-ID: <583f82be-c972-8a68-d624-b954a2ab2e67@gmail.com>
Date: Thu, 16 May 2019 14:47:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <ocukdedspm5g2bje7t2jias7nlosc82id4@4ax.com>
Content-Language: en-US
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by giant.haxx.se id x4GCluHg015297

Yes, that was exactly it. I managed to build everything just by 
commenting those lines out and tested that it works just fine and just 
the same in iOS than in everything else. This allowed me to write a 
conanfile that makes all the work to build all my app's dependencies in 
all architectures and platforms.

Thanks all for the help.

On 14/05/2019 10:23, Jan Ehrhardt wrote:
> rollastre@gmail.com in
> gmane.network.ssh.libssh2.devel (Mon, 13 May 2019 15:11:44 +0200):
>> [100%] Linking C shared library ../../lib/libssh2.dylib
>> ld: warning: -headerpad_max_install_names is ignored when used with
>> -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES)
>> Undefined symbols for architecture armv7:
>>    "_ENGINE_load_builtin_engines", referenced from:
>>        _libssh2_init in global.c.o
>>        __libssh2_init_if_needed in global.c.o
>>    "_ENGINE_register_all_complete", referenced from:
>>        _libssh2_init in global.c.o
>>        __libssh2_init_if_needed in global.c.o
>> ld: symbol(s) not found for architecture armv7
> libssh2 does not need the builtin engines. In a commit to master this
> was fixed: https://github.com/libssh2/libssh2/issues/255
>
> It is safe to remove the 2 conflicting lines in 1.8.2:
> https://github.com/Jan-E/iSSH2/commit/6b2b61d56fc43642980aacc529c9d9d14263cebf
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

From libssh2-devel-bounces@cool.haxx.se  Mon May 20 19:37:35 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4KHZvoR008641;
	Mon, 20 May 2019 19:37:26 +0200
Received: from mx0b-00010702.pphosted.com (mx0a-00010702.pphosted.com
 [148.163.156.75])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4KHZsAe008615
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 20 May 2019 19:35:56 +0200
Received: from pps.filterd (m0098781.ppops.net [127.0.0.1])
 by mx0a-00010702.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id
 x4KHLFr4001880
 for <libssh2-devel@cool.haxx.se>; Mon, 20 May 2019 12:35:55 -0500
Received: from nam02-bl2-obe.outbound.protection.outlook.com
 (mail-bl2nam02lp2051.outbound.protection.outlook.com [104.47.38.51])
 by mx0a-00010702.pphosted.com with ESMTP id 2sky4f09t7-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 20 May 2019 12:35:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=nio365.onmicrosoft.com; s=selector1-nio365-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=lMOaUKP5uoe0p9O93ip8NiozYzU8cDi+NBm7Z8MTSDE=;
 b=OBqT8DZMOHN50VQx6/lbK0YM0pYWuGNgNLbn296iqK2oO9Pp79m79RG/qNithAMDAFskStjgP7SE+OnVMqMvkhiUUMPlRfm1BcQ8bbBwWtcUPj1B9dFu81YqGV3TcQWsrXufBaKsjvXmenqYRlzP7yXi/bA4NP2kai4dlNAf71I=
Received: from DM5PR04MB1051.namprd04.prod.outlook.com (10.174.242.25) by
 DM5PR04MB0315.namprd04.prod.outlook.com (10.168.234.15) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1900.17; Mon, 20 May 2019 17:35:52 +0000
Received: from DM5PR04MB1051.namprd04.prod.outlook.com
 ([fe80::8d24:631:bc8a:36be]) by DM5PR04MB1051.namprd04.prod.outlook.com
 ([fe80::8d24:631:bc8a:36be%6]) with mapi id 15.20.1900.020; Mon, 20 May 2019
 17:35:52 +0000
From: Alan Nichols <alan.nichols@ni.com>
To: "libssh2-devel@cool.haxx.se" <libssh2-devel@cool.haxx.se>
Subject: keyboard-interactive login mode for 2-factor authentication
Thread-Topic: keyboard-interactive login mode for 2-factor authentication
Thread-Index: AdUPMElS6keR40pLTB6bPpoPnsQRmg==
Date: Mon, 20 May 2019 17:35:52 +0000
Message-ID: <DM5PR04MB10514A034C9E00D72031BA90E2060@DM5PR04MB1051.namprd04.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [12.34.42.130]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b8229646-7023-4858-2e49-08d6dd499b3e
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);
 SRVR:DM5PR04MB0315; 
x-ms-traffictypediagnostic: DM5PR04MB0315:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <DM5PR04MB0315E5FC6FBDF27CAAD31B9FE2060@DM5PR04MB0315.namprd04.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 004395A01C
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10019020)(346002)(376002)(39840400004)(396003)(366004)(136003)(199004)(189003)(66066001)(7736002)(81156014)(8936002)(81166006)(486006)(6916009)(99286004)(8676002)(5660300002)(476003)(44832011)(74316002)(256004)(316002)(71190400001)(71200400001)(14444005)(86362001)(33656002)(790700001)(7696005)(6116002)(2906002)(68736007)(14454004)(52536014)(66946007)(102836004)(2351001)(478600001)(6436002)(73956011)(6306002)(54896002)(9686003)(966005)(186003)(2501003)(53936002)(6506007)(25786009)(3846002)(55016002)(5640700003)(26005)(76116006)(66476007)(66556008)(64756008)(66446008);
 DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR04MB0315;
 H:DM5PR04MB1051.namprd04.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
received-spf: None (protection.outlook.com: ni.com does not designate
 permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: UT6DBFj9sn8F+rGxLd1fHmQ3huB8aIX3N4mAtG2e03MPNdZk/a6fbNxBXppvX1fbUn4ijGgElQHtSrOlCCo587BDAA9sIWxFVsLwcZvoqYqnfuiq/wgwyaJuKgbL3Rbx+8xcUWSmvu+E4m9iP3lVPjXh80x1fltnv5QT6m55RljwP4wYhwijWkndcLvl1XGkhRhbuHxbeItj0CLe+wGyS5s5V5JldUrShRQhsH/o8OwqtnxRIyL+9gEqkj0Qf5VMAcPw7K3RIA0fI93PcBZEATKl177BkSh9RC90q9rnGxHYHqAAJ5QNkZw0ZtDdT02R3HiljPKFO5nEEPdzeQ87U3eAWSpTllQEaJ9OI9RU8gYfqO2K+YWxXrc2fzY9bl4xxCQhlF0wk8srw7oWg4RI2x6V72MF4vmtgnLD1KHXwUQ=
MIME-Version: 1.0
X-OriginatorOrg: ni.com
X-MS-Exchange-CrossTenant-Network-Message-Id: b8229646-7023-4858-2e49-08d6dd499b3e
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 May 2019 17:35:52.5099 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 87ba1f9a-44cd-43a6-b008-6fdb45a5204e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR04MB0315
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, ,
 definitions=2019-05-20_07:, , signatures=0
X-Proofpoint-Spam-Details: rule=inbound_policy_notspam policy=inbound_policy
 score=30
 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0
 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0
 mlxlogscore=995 adultscore=0 classifier=spam adjust=30 reason=mlx
 scancount=1 engine=8.0.1-1810050000 definitions=main-1905200110
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0400651808=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0400651808==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_DM5PR04MB10514A034C9E00D72031BA90E2060DM5PR04MB1051namp_"

--_000_DM5PR04MB10514A034C9E00D72031BA90E2060DM5PR04MB1051namp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello libssh developers,

I recently ran into an obscure problem when using libssh2 to interact with =
an openssh client.  In resolving the issue, the support staff for the clien=
t informed me that "libssh2's implementation of keyboard-interactive logins=
 does not work properly when compared to the way openssh client handles key=
board-interactive."  The support staff implemented a workaround, which they=
 explained to me as follows:

"In order to implement 2FA (two factor auth), sshd_config was configured to=
 use  publickey and keyboard-interactive
as the authentication methods with ChallengeRepsonseAuthentication enabled.
sshd the publickey part, then passes the remaining authentication logic to =
PAM (keyboard-interactive).
PAM for sshd is configured to use google-authenticator if it has been confi=
gured for the user.

libssh2 does not properly implement keyboard-interactive which is what was =
causing your failures.
To work around this, sshd config was reverted to the original config of usi=
ng just publickey auth."

This is fine with me and everything is working as I'd expect.  However, I m=
ay in the future run up against customers who have a similar problem on the=
ir own systems and whose admins may be restricted by company policy from ma=
king similar changes to the config files.  A better solution would be to ha=
ve better 2-factor authentication compatibility between libssh2 and openssh=
.

Can you comment on this?  Do you expect this compatibility problem to be re=
solved in the future and if so, when?

Many thanks,

Alan Nichols
Development Engineer
AWR Group, National Instruments
1017 W. Glen Oaks Lane, Suite 106
Mequon, WI 53092
P: 1.262.241.2383
F: 1.262.240.0294
E: alan.nichols@ni.com
http://www.ni.com/awr



--_000_DM5PR04MB10514A034C9E00D72031BA90E2060DM5PR04MB1051namp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hello libssh developers,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I recently ran into an obscure problem when using li=
bssh2 to interact with an openssh client.&nbsp; In resolving the issue, the=
 support staff for the client informed me that &#8220;libssh2's implementat=
ion of keyboard-interactive logins does not work
 properly when compared to the way openssh client handles keyboard-interact=
ive.&#8221;&nbsp; The support staff implemented a workaround, which they ex=
plained to me as follows:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">&#8220;In order to implem=
ent 2FA (two factor auth), sshd_config was configured to use&nbsp; publicke=
y and keyboard-interactive
<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">as the authentication met=
hods with ChallengeRepsonseAuthentication enabled.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">sshd&nbsp;the publickey p=
art, then passes the remaining authentication logic to PAM (keyboard-intera=
ctive).<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">PAM for sshd is configure=
d to use google-authenticator if it has been configured for the user.<o:p><=
/o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">libssh2 does not properly=
 implement keyboard-interactive which is what was causing your failures.<o:=
p></o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:.5in">To work around this, sshd=
 config was reverted to the original config of using just publickey auth.&#=
8221;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This is fine with me and everything is working as I&=
#8217;d expect.&nbsp; However, I may in the future run up against customers=
 who have a similar problem on their own systems and whose admins may be re=
stricted by company policy from making similar
 changes to the config files.&nbsp; A better solution would be to have bett=
er 2-factor authentication compatibility between libssh2 and openssh.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Can you comment on this?&nbsp; Do you expect this co=
mpatibility problem to be resolved in the future and if so, when?<o:p></o:p=
></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Many thanks,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Alan Nichols<o:p></o:p></p>
<p class=3D"MsoNormal">Development Engineer<o:p></o:p></p>
<p class=3D"MsoNormal">AWR Group, National Instruments<o:p></o:p></p>
<p class=3D"MsoNormal">1017 W. Glen Oaks Lane, Suite 106<o:p></o:p></p>
<p class=3D"MsoNormal">Mequon, WI 53092<o:p></o:p></p>
<p class=3D"MsoNormal">P: 1.262.241.2383<o:p></o:p></p>
<p class=3D"MsoNormal">F: 1.262.240.0294<o:p></o:p></p>
<p class=3D"MsoNormal">E: alan.nichols@ni.com<o:p></o:p></p>
<p class=3D"MsoNormal">http://www.ni.com/awr<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_DM5PR04MB10514A034C9E00D72031BA90E2060DM5PR04MB1051namp_--

--===============0400651808==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0400651808==--

From libssh2-devel-bounces@cool.haxx.se  Mon May 20 19:54:11 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4KHqsLs021183;
	Mon, 20 May 2019 19:54:07 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4KHqq0k020966
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Mon, 20 May 2019 19:52:53 +0200
Received: from [10.0.0.249] (unknown [10.0.0.249])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id 1899F43E
 for <libssh2-devel@cool.haxx.se>; Mon, 20 May 2019 10:52:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=dkim;
 t=1558374766; bh=cbF61kRvnGhmdsA3/elQbMkSceEB4ydF9Wua8XTxN10=;
 h=From:Subject:Date:References:To:In-Reply-To;
 b=wYMLrVAfb5LgP+od8MHXus3wA77Tu2Udza4Xkaz4z/SbPqa1Xwc707cPdLqt8pOqv
 RtrH4VnpzlSBFejBQUSKtSRllvXvCNRJxRjVAVoGWeDYncorRAlYFu8NCBD31tPtqe
 uRwB+h/1cd6tdsmQKKCQyC808I/sH/frKkZFiKF0=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Subject: Re: keyboard-interactive login mode for 2-factor authentication
Date: Mon, 20 May 2019 10:52:45 -0700
References: <DM5PR04MB10514A034C9E00D72031BA90E2060@DM5PR04MB1051.namprd04.prod.outlook.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
In-Reply-To: <DM5PR04MB10514A034C9E00D72031BA90E2060@DM5PR04MB1051.namprd04.prod.outlook.com>
Message-Id: <B97E8494-2309-4812-B4D6-AD8D8394705D@panic.com>
X-Mailer: Apple Mail (2.3445.104.11)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1549230576=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============1549230576==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_07344487-28F6-40AF-B526-F6EB17475DF8"


--Apple-Mail=_07344487-28F6-40AF-B526-F6EB17475DF8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Alan,
Unfortunately, we=E2=80=99d need a lot more information in this report =
(and possibly a test server) to see what is happening conclusively. I =
suspect the client application, not the library, needs to be updated to =
handle the waterfall behavior of 2FA/keyboard interactive in the same =
way as OpenSSH for maximum capability. In the applications I develop we =
fully support 2FA but the waterfall is fairly complicated to maintain =
compatibility with OpenSSH.

Cheers,

Will


> On May 20, 2019, at 10:35 AM, Alan Nichols <alan.nichols@ni.com> =
wrote:
>=20
> Hello libssh developers,
> =20
> I recently ran into an obscure problem when using libssh2 to interact =
with an openssh client.  In resolving the issue, the support staff for =
the client informed me that =E2=80=9Clibssh2's implementation of =
keyboard-interactive logins does not work properly when compared to the =
way openssh client handles keyboard-interactive.=E2=80=9D  The support =
staff implemented a workaround, which they explained to me as follows:
> =20
> =E2=80=9CIn order to implement 2FA (two factor auth), sshd_config was =
configured to use  publickey and keyboard-interactive
> as the authentication methods with ChallengeRepsonseAuthentication =
enabled.
> sshd the publickey part, then passes the remaining authentication =
logic to PAM (keyboard-interactive).
> PAM for sshd is configured to use google-authenticator if it has been =
configured for the user.
> =20
> libssh2 does not properly implement keyboard-interactive which is what =
was causing your failures.
> To work around this, sshd config was reverted to the original config =
of using just publickey auth.=E2=80=9D
> =20
> This is fine with me and everything is working as I=E2=80=99d expect.  =
However, I may in the future run up against customers who have a similar =
problem on their own systems and whose admins may be restricted by =
company policy from making similar changes to the config files.  A =
better solution would be to have better 2-factor authentication =
compatibility between libssh2 and openssh.=20
> =20
> Can you comment on this?  Do you expect this compatibility problem to =
be resolved in the future and if so, when?
> =20
> Many thanks,
> =20
> Alan Nichols
> Development Engineer
> AWR Group, National Instruments
> 1017 W. Glen Oaks Lane, Suite 106
> Mequon, WI 53092
> P: 1.262.241.2383
> F: 1.262.240.0294
> E: alan.nichols@ni.com <mailto:alan.nichols@ni.com>
> http://www.ni.com/awr <http://www.ni.com/awr>
> =20
> =20
> _______________________________________________
> libssh2-devel =
https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel =
<https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>

--Apple-Mail=_07344487-28F6-40AF-B526-F6EB17475DF8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div =
class=3D"">Hi Alan,</div><div class=3D"">Unfortunately, we=E2=80=99d =
need a lot more information in this report (and possibly a test server) =
to see what is happening conclusively. I suspect the client application, =
not the library, needs to be updated to handle the waterfall behavior of =
2FA/keyboard interactive in the same way as OpenSSH for maximum =
capability. In the applications I develop we fully support 2FA but the =
waterfall is fairly complicated to maintain compatibility with =
OpenSSH.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Cheers,</div><div class=3D""><br class=3D""></div><div =
class=3D"">Will</div><br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On May 20, 2019, at 10:35 AM, =
Alan Nichols &lt;<a href=3D"mailto:alan.nichols@ni.com" =
class=3D"">alan.nichols@ni.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">Hello =
libssh developers,<o:p class=3D""></o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D""><o:p class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in =
0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">I recently ran into an obscure problem when using libssh2 to =
interact with an openssh client.&nbsp; In resolving the issue, the =
support staff for the client informed me that =E2=80=9Clibssh2's =
implementation of keyboard-interactive logins does not work properly =
when compared to the way openssh client handles =
keyboard-interactive.=E2=80=9D&nbsp; The support staff implemented a =
workaround, which they explained to me as follows:<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt =
0.5in; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">=E2=80=9CIn order to implement 2FA (two factor auth), =
sshd_config was configured to use&nbsp; publickey and =
keyboard-interactive<o:p class=3D""></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">as the authentication methods with =
ChallengeRepsonseAuthentication enabled.<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">sshd&nbsp;the publickey part, then =
passes the remaining authentication logic to PAM =
(keyboard-interactive).<o:p class=3D""></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">PAM for sshd is configured to use =
google-authenticator if it has been configured for the user.<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt 0.5in; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">&nbsp;<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt 0.5in; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">libssh2 =
does not properly implement keyboard-interactive which is what was =
causing your failures.<o:p class=3D""></o:p></div><div style=3D"margin: =
0in 0in 0.0001pt 0.5in; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">To work around this, sshd config was reverted to =
the original config of using just publickey auth.=E2=80=9D<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">This is =
fine with me and everything is working as I=E2=80=99d expect.&nbsp; =
However, I may in the future run up against customers who have a similar =
problem on their own systems and whose admins may be restricted by =
company policy from making similar changes to the config files.&nbsp; A =
better solution would be to have better 2-factor authentication =
compatibility between libssh2 and openssh.&nbsp;<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">Can you =
comment on this?&nbsp; Do you expect this compatibility problem to be =
resolved in the future and if so, when?<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">Many thanks,<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">Alan =
Nichols<o:p class=3D""></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">Development Engineer<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">AWR Group, National Instruments<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">1017 W. =
Glen Oaks Lane, Suite 106<o:p class=3D""></o:p></div><div style=3D"margin:=
 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">Mequon, WI 53092<o:p class=3D""></o:p></div><div =
style=3D"margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">P: 1.262.241.2383<o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">F: =
1.262.240.0294<o:p class=3D""></o:p></div><div style=3D"margin: 0in 0in =
0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">E:<span class=3D"Apple-converted-space">&nbsp;</span><a =
href=3D"mailto:alan.nichols@ni.com" style=3D"color: rgb(149, 79, 114); =
text-decoration: underline;" class=3D"">alan.nichols@ni.com</a><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><a =
href=3D"http://www.ni.com/awr" style=3D"color: rgb(149, 79, 114); =
text-decoration: underline;" class=3D"">http://www.ni.com/awr</a><o:p =
class=3D""></o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0in 0in 0.0001pt; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div></div><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">libssh2-devel<span =
class=3D"Apple-converted-space">&nbsp;</span></span><a =
href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel" =
style=3D"color: rgb(149, 79, 114); text-decoration: underline; =
font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" =
class=3D"">https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a>=
</div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_07344487-28F6-40AF-B526-F6EB17475DF8--

--===============1549230576==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1549230576==--

From libssh2-devel-bounces@cool.haxx.se  Thu May 23 17:03:09 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4NF1Q3M009060;
	Thu, 23 May 2019 17:02:55 +0200
Received: from mail-yw1-xc29.google.com (mail-yw1-xc29.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:c29])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4NF1Ncw009033
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Thu, 23 May 2019 17:01:24 +0200
Received: by mail-yw1-xc29.google.com with SMTP id b74so2382759ywe.5
 for <libssh2-devel@cool.haxx.se>; Thu, 23 May 2019 08:01:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to;
 bh=hoVhWgx1RpLQVYVRsLxkBLqgOpALUx+VWRpaxiS14cU=;
 b=DRtiB7wak5TI39mpCDPKLPJYdybo9Im8tYaqGLidikUDpFotk4sq5/BjEz/4OcfcOE
 U1Zef/dJcjpN8z0wo288n3I2HJPEjdw1logb+ahOPfZs4JoSfa9ARpMbyohkOM+UGcKP
 STlGXfOQwbUd4+CjQ15hXl/hbSEE0PltuoNueT391I3Ci9PeEcFL1zE7e3BuwJo5AJLz
 HNpZasDyCFyb6wWCCUWOIkA0jcZR86GkGcsKywh32yOAH0A1XtLCL7BPp44Hd/SlLbVT
 tp9NBamIBAU1uEmKeauEOinTNKtmxaTurxoXPg60O+2vF1+Cp9VJ/WoDJsJ6tUkLOuHw
 jW7Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to;
 bh=hoVhWgx1RpLQVYVRsLxkBLqgOpALUx+VWRpaxiS14cU=;
 b=gKkD4JbSSBAw0858tkg+XZx2ggqL38dryFw+4H54DLOqmwHlJMnYs7+nAZcdFBXWXu
 F6EZ59dlcr0+o2wOllAc0iyE99Lna4fLer7VvZ/5Ly1QIi81Uo2WXfGVaL8jjuI2vQnS
 ezErN2lgtaSGVYnklkXGv28LHxtz3VvEClBVACH1CltsoQWzNZjsS9LujAKmTcGkY1aH
 C2Q+ja0+dTrlSLhhRm3LumRGXlCZLvUSvg85MEtkIxjPuBFGlRIMWuY4HyaN70+6PClc
 dtMHF3vMlZAehMurXFRJ8ijmMPNQYn1OoQJY2Eeb5dtQjDMDa/Rivj4P1HgS29RklxHM
 NuSw==
X-Gm-Message-State: APjAAAUsqwy7AJ5Ci9RkrXbhEsqpwmcHsUMhYH6h1Pkwe5FPPdZBKVLe
 clXWmmyODh1eR6ou3Vo59uCsSEDfs1OYPiFNJZWWdFv8
X-Google-Smtp-Source: APXvYqz1e9/SGLrBpKJALuE1NLI3MLfZWsq37DYD4765lnsohMTBkG03wB4PXC5JA4cRdobSEsDKYD/ialr+e4Ax8a8=
X-Received: by 2002:a81:92d4:: with SMTP id
 j203mr47299525ywg.348.1558623678821; 
 Thu, 23 May 2019 08:01:18 -0700 (PDT)
MIME-Version: 1.0
References: <06C4A00F-9E69-4177-914C-815B4A2A42C3@panic.com>
 <67f4f5f07d96487d83990f86d5e116c8@USTX2EX-DAG3MB3.msg.corp.akamai.com>
In-Reply-To: <67f4f5f07d96487d83990f86d5e116c8@USTX2EX-DAG3MB3.msg.corp.akamai.com>
From: Manikandan J <jmani.20@gmail.com>
Date: Thu, 23 May 2019 20:31:07 +0530
Message-ID: <CABDFp22NQmxCB-SQA_63chc=2mf0o7VJVZ+-R9EfW1brpzGK=g@mail.gmail.com>
Subject: Re: 1.9.0 Release Date
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1436197248=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1436197248==
Content-Type: multipart/alternative; boundary="000000000000b6f75505898f5a8f"

--000000000000b6f75505898f5a8f
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Ryan,

We are also waiting for stable code base Release 1.9.0 for last 2 months to
incorporate with our product. Could you please share any tentative date
planned for the release.

Best Regards,
Mani

On Thu, May 9, 2019 at 4:33 AM Kelley, Ryan <rkelley@akamai.com> wrote:

> At this point I would say getting a release or at the very least a releas=
e
> candidate cut would be key. I agree that the code is in the good position
> and have no issue with May 21st date.
>
> Ryan Kelley
>
> -----Original Message-----
> From: Will Cosgrove <will@panic.com>
> Sent: Wednesday, May 08, 2019 6:47 PM
> To: libssh2 development <libssh2-devel@cool.haxx.se>
> Subject: 1.9.0 Release Date
>
> Several people have bought up the 1.9.0 release. So I thought this email
> could get the ball rolling to nail down a release date.  As far as I=E2=
=80=99m
> concerned we=E2=80=99re sitting in a good spot for release with a stable =
code base.
>
> Looking at the open PRs there are some features waiting for touch-up but
> nothing that should stop release. Perhaps they could be looped into a
> release in 6 months or so if we didn=E2=80=99t want to take them at this =
point.
> I=E2=80=99ll throw out May 21 for a release date, how=E2=80=99s that soun=
d?
>
> What do you all think?
>
> Will
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>


--=20

*Thanks and Regards,*

*Manikandan J  *

*Please consider Environment before printing this Email.*

--000000000000b6f75505898f5a8f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,=
sans-serif;color:#000000">Hi Ryan,</div><div class=3D"gmail_default" style=
=3D"font-family:verdana,sans-serif;color:#000000"><br></div><div class=3D"g=
mail_default" style=3D"font-family:verdana,sans-serif;color:#000000">We are=
 also waiting for stable code base Release 1.9.0 for last 2 months to incor=
porate with our product. Could you please share any tentative date planned =
for the release.<br></div><div class=3D"gmail_default" style=3D"font-family=
:verdana,sans-serif;color:#000000"><br></div><div class=3D"gmail_default" s=
tyle=3D"font-family:verdana,sans-serif;color:#000000">Best Regards,</div><d=
iv class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;color:#0=
00000">Mani<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" =
class=3D"gmail_attr">On Thu, May 9, 2019 at 4:33 AM Kelley, Ryan &lt;<a hre=
f=3D"mailto:rkelley@akamai.com">rkelley@akamai.com</a>&gt; wrote:<br></div>=
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">At this point I would say=
 getting a release or at the very least a release candidate cut would be ke=
y. I agree that the code is in the good position and have no issue with May=
 21st date.<br>
<br>
Ryan Kelley<br>
<br>
-----Original Message-----<br>
From: Will Cosgrove &lt;<a href=3D"mailto:will@panic.com" target=3D"_blank"=
>will@panic.com</a>&gt; <br>
Sent: Wednesday, May 08, 2019 6:47 PM<br>
To: libssh2 development &lt;<a href=3D"mailto:libssh2-devel@cool.haxx.se" t=
arget=3D"_blank">libssh2-devel@cool.haxx.se</a>&gt;<br>
Subject: 1.9.0 Release Date<br>
<br>
Several people have bought up the 1.9.0 release. So I thought this email co=
uld get the ball rolling to nail down a release date.=C2=A0 As far as I=E2=
=80=99m concerned we=E2=80=99re sitting in a good spot for release with a s=
table code base.<br>
<br>
Looking at the open PRs there are some features waiting for touch-up but no=
thing that should stop release. Perhaps they could be looped into a release=
 in 6 months or so if we didn=E2=80=99t want to take them at this point. I=
=E2=80=99ll throw out May 21 for a release date, how=E2=80=99s that sound? =
<br>
<br>
What do you all think?<br>
<br>
Will<br>
_______________________________________________<br>
libssh2-devel <a href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libs=
sh2-devel" rel=3D"noreferrer" target=3D"_blank">https://cool.haxx.se/cgi-bi=
n/mailman/listinfo/libssh2-devel</a><br>
_______________________________________________<br>
libssh2-devel <a href=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libs=
sh2-devel" rel=3D"noreferrer" target=3D"_blank">https://cool.haxx.se/cgi-bi=
n/mailman/listinfo/libssh2-devel</a><br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature"><div dir=3D"ltr"><div><p style=3D"margin:0px;font-family:ar=
ial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b><span s=
tyle=3D"font-size:11pt;font-family:Rockwell,serif;color:rgb(0,176,80)">Than=
ks and Regards,<u></u><u></u></span></b></p><p style=3D"margin:0px;font-fam=
ily:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b><=
span style=3D"font-size:11pt;font-family:Rockwell,serif;color:rgb(146,208,8=
0)">Manikandan J=C2=A0=C2=A0</span></b><b><span style=3D"font-size:11pt;fon=
t-family:Rockwell,serif;color:rgb(0,176,80)"><u></u><u></u></span></b></p><=
p style=3D"margin:0px;background-color:rgb(255,255,255)"><font face=3D"Treb=
uchet MS, sans-serif" color=3D"#008000"><span style=3D"font-size:10.6667px"=
><b>Please consider Environment before printing this Email.</b></span></fon=
t></p></div></div></div>

--000000000000b6f75505898f5a8f--

--===============1436197248==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1436197248==--

From libssh2-devel-bounces@cool.haxx.se  Wed May 29 11:03:10 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4T91YrU007695;
	Wed, 29 May 2019 11:03:00 +0200
Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com
 [IPv6:2607:f8b0:4864:20:0:0:0:82c])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4T91VxK007670
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 29 May 2019 11:01:32 +0200
Received: by mail-qt1-x82c.google.com with SMTP id h1so1646439qtp.1
 for <libssh2-devel@cool.haxx.se>; Wed, 29 May 2019 02:01:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=+5rfPS1n1I8xPeD546AWQBZ0qeOCH259UchY71Xo2IM=;
 b=kQvJYZ53Lb+UcE2ckhcZ/LmcZKjJD+Fv3uBL+Zh/MIqtUj8E6Ts9idfIS7z+bygs6A
 kcPmLqosMysne32Uj1jXrlFAvOsYTC/F5VERE3MJtp1lrENlbH5S44vkAMKPDRY4XyEJ
 K7JZBMf/MXt+YL3DpgQ6tEwDegCbEXc6lUtk8+ackQCm3UCAWYYRhCUpwprSqbXc8bFT
 5HLO/x72nenyP+nIWvq3/KMUfmCR7d0QHZmM0m/BXwyVX9NJnyCve34KxO8ozYOBpgfU
 NDB9ui7EIigbT8B8CDt0kuZgSbBZ/2tn1Ij7RwGM/4RRFalNXorOK8LDwCc5546s8kvQ
 wxoA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=+5rfPS1n1I8xPeD546AWQBZ0qeOCH259UchY71Xo2IM=;
 b=Yk6qo0E4SnYPmPRRz0y6jH+LuHi5/jZw/6jJQ6ocr266oS+4M+r2CcnysgxQ+4JJUo
 MiXvSmEh+9RWzQ+uR1r0+9r8pU1J35n8gGW6cDSynMhADsykHWJzLi/FdfqYi2q49866
 exkWkldgxJ+HdY8vw5tAttARYtVb2x9FvNVRCV5bNl+rPCpyTWheOEDHp2Yv9X9QO3CR
 W6oSpD7Z/wgpcuROj00LFuebgOHn0O6EwW+OztAflIChAbvKRzEPI2Xt99Q7UlaXbZ3h
 Mxl/vvWHEvLxaU1gO0VSfDL6LJVIPsQBoz/DIBGqIQXTuQ27VMWRh6Hklc5HlZ/7r7l6
 6eNw==
X-Gm-Message-State: APjAAAVSCAbbUNOuBzdU1xEVzI6eGHOGrJ9sJ0ccA/JzAF/PgzmhzlZh
 rbsIEOAm3IUqOpKpUib9F1ytRIaPv+uiUWgm8qLy3CmM
X-Google-Smtp-Source: APXvYqzFg7mi2U4oW1rO44vt0Hd9cER9Z56Cqrk9z8fc33NW9kkt5FWcO2uh7ZcFp0lhZa2lH4rh6JDLb0JxiJdPJtM=
X-Received: by 2002:a0c:f5c5:: with SMTP id q5mr97989259qvm.233.1559120486568; 
 Wed, 29 May 2019 02:01:26 -0700 (PDT)
MIME-Version: 1.0
From: Stephane servaz <stephane.servaz@gmail.com>
Date: Wed, 29 May 2019 11:01:16 +0200
Message-ID: <CALP0P5sjTtcfOTTNe2nN9E14gjsfTimPY4xi+nn4N3EkqRBhiQ@mail.gmail.com>
Subject: MAC SHA2 etm
To: libssh2-devel@cool.haxx.se
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============1941209595=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============1941209595==
Content-Type: multipart/alternative; boundary="000000000000c395f5058a0306c9"

--000000000000c395f5058a0306c9
Content-Type: text/plain; charset="UTF-8"

Hello,

I would be interested in the integration of the following MACs :
hmac-sha2-256-etm@openssh.com ans hmac-sha2-512-etm@openssh.com

Is a version of libssh2 containing the previous MAC is planned ?

many thanks for considering my request.

--000000000000c395f5058a0306c9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>I would be interested in the int=
egration of the following MACs :</div><div><a href=3D"mailto:hmac-sha2-256-=
etm@openssh.com">hmac-sha2-256-etm@openssh.com</a> ans <a href=3D"mailto:hm=
ac-sha2-512-etm@openssh.com">hmac-sha2-512-etm@openssh.com</a></div><div><b=
r></div><div>Is a version of libssh2 containing the previous MAC is planned=
 ?</div><div><br></div><div>many=C2=A0thanks for considering my request.</d=
iv><div><br></div></div>

--000000000000c395f5058a0306c9--

--===============1941209595==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============1941209595==--

From libssh2-devel-bounces@cool.haxx.se  Wed May 29 17:39:18 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4TFbVPU018155;
	Wed, 29 May 2019 17:39:08 +0200
Received: from mail.panic.com (mail.panic.com [38.103.165.36])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTPS id x4TFbRrg018127
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)
 for <libssh2-devel@cool.haxx.se>; Wed, 29 May 2019 17:37:28 +0200
Received: from [192.168.1.121] (c-24-22-78-147.hsd1.wa.comcast.net
 [24.22.78.147])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.panic.com (Postfix) with ESMTPSA id D09EB27E
 for <libssh2-devel@cool.haxx.se>; Wed, 29 May 2019 08:37:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=panic.com; s=dkim;
 t=1559144242; bh=tZoeA7WgvMq6sWwIqpCmMMiFecgvvT1XZ8vM/Y+jc1A=;
 h=From:Date:Subject:References:In-Reply-To:To;
 b=SlIzcQQyaKP61rVOtpvxrd/Fqcv80lclzkkngxa0ao+/fJ4yqNtFsrh/L4qpz0wVn
 +qySAgi95fucjIn9u2O6svdtKW5ZMTS1Zxc7PK7dEFQ311U+ITXY+gR99cUT0n/XA8
 32/kmyi8VR+0QRqdMG4RdzH19YThcWvRFEH01K/8=
From: Will Cosgrove <will@panic.com>
Mime-Version: 1.0 (1.0)
Date: Wed, 29 May 2019 08:37:22 -0700
Subject: Re: MAC SHA2 etm
Message-Id: <27F1D535-6C69-4B52-902E-2ADA0C96916D@panic.com>
References: <CALP0P5sjTtcfOTTNe2nN9E14gjsfTimPY4xi+nn4N3EkqRBhiQ@mail.gmail.com>
In-Reply-To: <CALP0P5sjTtcfOTTNe2nN9E14gjsfTimPY4xi+nn4N3EkqRBhiQ@mail.gmail.com>
To: libssh2 development <libssh2-devel@cool.haxx.se>
X-Mailer: iPhone Mail (16F156)
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============2064285300=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>


--===============2064285300==
Content-Type: multipart/alternative;
	boundary=Apple-Mail-677841B5-17BE-48DE-A566-3B9A41DF16B3
Content-Transfer-Encoding: 7bit


--Apple-Mail-677841B5-17BE-48DE-A566-3B9A41DF16B3
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi Stephane,
I have ETM support implemented on my private repo but am hesitant to land a P=
R because it's a bit hacky. The current transport layer isn't designed with d=
ifferent MAC styles in mind and I need to sit down and try and refactor it a=
 bit. But it is on my do to list.=20

Will



> On May 29, 2019, at 2:01 AM, Stephane servaz <stephane.servaz@gmail.com> w=
rote:
>=20
> Hello,
>=20
> I would be interested in the integration of the following MACs :
> hmac-sha2-256-etm@openssh.com ans hmac-sha2-512-etm@openssh.com
>=20
> Is a version of libssh2 containing the previous MAC is planned ?
>=20
> many thanks for considering my request.
>=20
> _______________________________________________
> libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

--Apple-Mail-677841B5-17BE-48DE-A566-3B9A41DF16B3
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">Hi S=
tephane,</div><div dir=3D"ltr">I have ETM support implemented on my private r=
epo but am hesitant to land a PR because it's a bit hacky. The current trans=
port layer isn't designed with different MAC styles in mind and I need to si=
t down and try and refactor it a bit. But it is on my do to list.&nbsp;</div=
><div dir=3D"ltr"><br></div><div dir=3D"ltr">Will</div><div dir=3D"ltr"><br>=
</div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><br>On May 29, 2019, at 2:=
01 AM, Stephane servaz &lt;<a href=3D"mailto:stephane.servaz@gmail.com">step=
hane.servaz@gmail.com</a>&gt; wrote:<br><br></div><blockquote type=3D"cite">=
<div dir=3D"ltr"><div dir=3D"ltr">Hello,<div><br></div><div>I would be inter=
ested in the integration of the following MACs :</div><div><a href=3D"mailto=
:hmac-sha2-256-etm@openssh.com">hmac-sha2-256-etm@openssh.com</a> ans <a hre=
f=3D"mailto:hmac-sha2-512-etm@openssh.com">hmac-sha2-512-etm@openssh.com</a>=
</div><div><br></div><div>Is a version of libssh2 containing the previous MA=
C is planned ?</div><div><br></div><div>many&nbsp;thanks for considering my r=
equest.</div><div><br></div></div>
</div></blockquote><blockquote type=3D"cite"><div dir=3D"ltr"><span>________=
_______________________________________</span><br><span>libssh2-devel <a hre=
f=3D"https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel">https://co=
ol.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel</a></span><br></div></bloc=
kquote></body></html>=

--Apple-Mail-677841B5-17BE-48DE-A566-3B9A41DF16B3--

--===============2064285300==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============2064285300==--

From libssh2-devel-bounces@cool.haxx.se  Thu May 30 16:41:32 2019
Return-Path: <libssh2-devel-bounces@cool.haxx.se>
Received: from www.haxx.se (mail [127.0.0.1])
	by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4UEdroQ031677;
	Thu, 30 May 2019 16:41:20 +0200
Received: from us-smtp-delivery-120.mimecast.com
 (us-smtp-delivery-120.mimecast.com [63.128.21.120])
 by giant.haxx.se (8.15.2/8.15.2/Debian-4) with ESMTP id x4UEdoqW031665
 for <libssh2-devel@cool.haxx.se>; Thu, 30 May 2019 16:39:51 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=parallelwireless.com; 
 s=mimecast20180910; t=1559227191;
 h=from:from:sender:reply-to:subject:subject:date:date:
 message-id:message-id:to:to:cc:mime-version:mime-version:
 content-type:content-type:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:openpgp:autocrypt;
 bh=KsZgZQP0fC4uccDSeuR+kkrKnARjUP8AJdCgbNwnlOg=;
 b=N1Cs4nkvlJoN4MzGqS3Phusgb6o9NVDmiHj1vTaMy9XxphCCHvCyhZc7lqB7BEMC6uw9bD
 Ykvg4SMWoyU+6Uo9nFfq8xybp0K80EzrRSQxZjCzYJvUzjy4w2L2hz7CLOJInQdz3Fjpb8
 v2YFG339U2nPT8JJcK2JY0zm4lXk4ss=
Received: from NAM03-DM3-obe.outbound.protection.outlook.com
 (mail-dm3nam03lp2056.outbound.protection.outlook.com [104.47.41.56]) (Using
 TLS) by relay.mimecast.com with ESMTP id
 us-mta-232-ekvoDMfiPAmTBcfgBt-IhA-1; Thu, 30 May 2019 10:39:47 -0400
Received: from BN6PR19MB1618.namprd19.prod.outlook.com (10.175.196.17) by
 BN6PR19MB1347.namprd19.prod.outlook.com (10.175.195.22) with Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.1922.18; Thu, 30 May 2019 14:39:45 +0000
Received: from BN6PR19MB1618.namprd19.prod.outlook.com
 ([fe80::d0f1:a548:2b23:c8e2]) by BN6PR19MB1618.namprd19.prod.outlook.com
 ([fe80::d0f1:a548:2b23:c8e2%5]) with mapi id 15.20.1922.021; Thu, 30 May 2019
 14:39:45 +0000
From: Ketul Barot <kbarot@parallelwireless.com>
To: "libssh2-devel@cool.haxx.se" <libssh2-devel@cool.haxx.se>
Subject: RE: SFTP transfer hangs when the server connection has high latency
 RTT around 500 ms and 30% packet loss
Thread-Topic: SFTP transfer hangs when the server connection has high latency
 RTT around 500 ms and 30% packet loss
Thread-Index: AdTTZV0U7of2DyY7TVOUsQnneH2sKxDkBP5w
Date: Thu, 30 May 2019 14:39:45 +0000
Message-ID: <BN6PR19MB16185E96A45E0AB0437BCCDABF180@BN6PR19MB1618.namprd19.prod.outlook.com>
References: <BN6PR19MB16185456A9DBC7E8E6180629BF720@BN6PR19MB1618.namprd19.prod.outlook.com>
In-Reply-To: <BN6PR19MB16185456A9DBC7E8E6180629BF720@BN6PR19MB1618.namprd19.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [64.223.221.66]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ad2f27db-506a-4490-b9d2-08d6e50ca900
x-microsoft-antispam: BCL:0; PCL:0;
 RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);
 SRVR:BN6PR19MB1347; 
x-ms-traffictypediagnostic: BN6PR19MB1347:
x-ms-exchange-purlcount: 3
x-microsoft-antispam-prvs: <BN6PR19MB13470E145415B4AE6B5E40B2BF180@BN6PR19MB1347.namprd19.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-forefront-prvs: 00531FAC2C
x-forefront-antispam-report: SFV:NSPM;
 SFS:(10009020)(136003)(376002)(346002)(39850400004)(396003)(366004)(27574002)(199004)(189003)(9326002)(66066001)(71190400001)(71200400001)(486006)(6116002)(3846002)(6916009)(54896002)(790700001)(86362001)(6436002)(478600001)(53546011)(9686003)(6306002)(476003)(99286004)(55016002)(446003)(25786009)(11346002)(5640700003)(236005)(256004)(7696005)(68736007)(14444005)(5024004)(76176011)(74316002)(26005)(76116006)(81166006)(2906002)(14454004)(8676002)(53936002)(73956011)(66946007)(66476007)(66556008)(316002)(2501003)(66446008)(52536014)(64756008)(6506007)(81156014)(606006)(966005)(6246003)(5660300002)(33656002)(2351001)(7736002)(8936002)(102836004)(186003)(4743002)(229853002);
 DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR19MB1347;
 H:BN6PR19MB1618.namprd19.prod.outlook.com; FPR:; SPF:None; LANG:en;
 PTR:InfoNoRecords; A:1; MX:1; 
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: t8JgFtIYk+qunejOxKZf4ZXlNDX+63/5N17HZc9oUXk2TZ+yJmxRjSN0LGFsGbDIVU8djwbsDX0NaaABJpSq8iKswCewJgXdvZkMxgOdeJfbtCfC5u0W9yZwRQfD8vnVeTrs4CHo128idnh0KPx1INEMztu6LLdjrSsaCmzqVOSZzlkYkA+oBjaxxNQYwfzreDU0oXr7edLEndUZqHKdyieaUpnjq2I4VPFWln/0UeMHIiy4wcym2gjeh80TiWuNZcwzBJw3OTPZfwwY5dkjteHqMzJ7I/pq3f6g2oGSWBHtUkGSm9/9b5i1HDoGUOqygGs4+txsCOyM3PEzONoRQ4jHIjNMoy4N+j9LX2qaiZD4MCOfYelidG7dvkEcEFnUs3nGXH7yJLOPWDXpFFtnS+2icVID1GeLQLVMH8TS6ps=
MIME-Version: 1.0
X-OriginatorOrg: parallelwireless.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ad2f27db-506a-4490-b9d2-08d6e50ca900
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 May 2019 14:39:45.6968 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 991bd471-bf03-47c4-af97-0c3362264c70
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: kbarot@parallelwireless.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR19MB1347
X-MC-Unique: ekvoDMfiPAmTBcfgBt-IhA-1
X-Mimecast-Spam-Score: 0
X-BeenThere: libssh2-devel@cool.haxx.se
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: libssh2 development <libssh2-devel.cool.haxx.se>
List-Unsubscribe: <https://cool.haxx.se/cgi-bin/mailman/options/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=unsubscribe>
List-Archive: <http://cool.haxx.se/pipermail/libssh2-devel/>
List-Post: <mailto:libssh2-devel@cool.haxx.se>
List-Help: <mailto:libssh2-devel-request@cool.haxx.se?subject=help>
List-Subscribe: <https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel>, 
 <mailto:libssh2-devel-request@cool.haxx.se?subject=subscribe>
Reply-To: libssh2 development <libssh2-devel@cool.haxx.se>
Content-Type: multipart/mixed; boundary="===============0880037770=="
Errors-To: libssh2-devel-bounces@cool.haxx.se
Sender: "libssh2-devel" <libssh2-devel-bounces@cool.haxx.se>

--===============0880037770==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_BN6PR19MB16185E96A45E0AB0437BCCDABF180BN6PR19MB1618namp_"

--_000_BN6PR19MB16185E96A45E0AB0437BCCDABF180BN6PR19MB1618namp_
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: base64

SGksDQoNCkNhbiBzb21lb25lIGZyb20gbGlic3NoMiBjb21tdW5pdHkgcGxlYXNlIGhlbHAgbWUg
d2l0aCB0aGlzIGlzc3VlPw0KDQpUaGFua3MsDQpLZXR1bA0KDQpGcm9tOiBLZXR1bCBCYXJvdA0K
U2VudDogVHVlc2RheSwgTWFyY2ggMDUsIDIwMTkgMTA6MjUgQU0NClRvOiBsaWJzc2gyLWRldmVs
QGNvb2wuaGF4eC5zZQ0KU3ViamVjdDogUkU6IFNGVFAgdHJhbnNmZXIgaGFuZ3Mgd2hlbiB0aGUg
c2VydmVyIGNvbm5lY3Rpb24gaGFzIGhpZ2ggbGF0ZW5jeSBSVFQgYXJvdW5kIDUwMCBtcyBhbmQg
MzAlIHBhY2tldCBsb3NzDQoNCkhpLA0KDQpGb3Igc29tZSByZWFzb24gSSBhbSBub3QgYWJsZSB0
byByZXByb2R1Y2UgdGhlIGhhbmcgd2l0aCBzZnRwX3dyaXRlX25vbmJsb2NrLmMgYnV0IEkgZGlk
IGZpbmQgdGhlIHNhbWUgdGhpbmcgaGFwcGVuIHdpdGggdGhlIGN1cmwuIEkgaGF2ZSBlbmFibGVk
IHRoZSBkZWJ1ZyBvcHRpb24gYW5kIGFkZGVkIHRo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xpYnNzaDItZGV2ZWwgbWFpbGluZyBsaXN0DQps
aWJzc2gyLWRldmVsQGNvb2wuaGF4eC5zZTxtYWlsdG86bGlic3NoMi1kZXZlbEBjb29sLmhheHgu
c2U+DQpodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbDxodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGli
c3NoMi1kZXZlbD4NCg0KDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCg0KRW5kIG9m
IGxpYnNzaDItZGV2ZWwgRGlnZXN0LCBWb2wgMTE3LCBJc3N1ZSAxDQoqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCg==
--_000_BN6PR19MB16185E96A45E0AB0437BCCDABF180BN6PR19MB1618namp_
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTUgKGZpbHRlcmVkIG1lZGl1bSkiPg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KioqKioqKioqKioqKioqKioqKio8bzpwPjwvbzpw
PjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K
--_000_BN6PR19MB16185E96A45E0AB0437BCCDABF180BN6PR19MB1618namp_--


--===============0880037770==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlic3NoMi1k
ZXZlbCBodHRwczovL2Nvb2wuaGF4eC5zZS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbGlic3No
Mi1kZXZlbAo=

--===============0880037770==--

