[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33780: network-stream.el: network-stream-certificate always returns
From: |
Robert Pluim |
Subject: |
bug#33780: network-stream.el: network-stream-certificate always returns nil |
Date: |
Tue, 15 Jan 2019 21:31:35 +0100 |
Eli Zaretskii <eliz@gnu.org> writes:
>> so loading nsm.el causes nsm-verify-connection to get called in the
>> ':nowait t' case. Presumably in the ':nowait nil' case gnutls-boot has
>> already completed the tls connection, and finish_after_tls_connection
>> never gets called (thatʼs speculation on my part). I donʼt know the
>> GnuTLS code well enough to know if this is a bug. Ted?
>
I can confirm this is what happens: finish_after_tls_connection only
gets called when ':nowait t'.
> Ah, okay. No, I don't think this is a bug. So use some way to get
> nsm to approve the connection.
I do find it unexpected that the low level GnuTLS code only invokes
the nsm for ':nowait t' connections. OTOH 'open-network-stream' works
fine, and uses the nsm, so itʼs not a big deal.
Overriding nsm-query appears not to be enough (itʼs enough when
running the tests interactively, but not in batch mode), I had to
override 'nsm-verify-connection'.
Robert
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Robert Pluim, 2019/01/09
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Eli Zaretskii, 2019/01/12
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Robert Pluim, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Eli Zaretskii, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Robert Pluim, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Eli Zaretskii, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Robert Pluim, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Eli Zaretskii, 2019/01/14
- bug#33780: network-stream.el: network-stream-certificate always returns nil,
Robert Pluim <=
- bug#33780: network-stream.el: network-stream-certificate always returns nil, Robert Pluim, 2019/01/24