[gnutls-devel] GnuTLS | gnutls-cli: Fix --starttls-proto=xmpp (!911)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat Feb 16 17:44:02 CET 2019


I fail to escape the XML string in a convenient way for the `chat` application. The man page is not very helpful. So, I leave it to you (or someone accustomed to `chat`) to add the test. The data is
```
TIMEOUT 3
out: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='example.com' version='1.0'>
in: <?xml version='1.0'?><stream:stream id='16633990255660214772' version='1.0' xml:lang='en' xmlns:stream='http://etherx.jabber.org/streams' from='example.com' xmlns='jabber:client'><stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'><required/></starttls></stream:features>
out: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
in: <proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
```

(`in and `out` to make clear what should be sent/received).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/911#note_141968075
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190216/9173a3bb/attachment.html>


More information about the Gnutls-devel mailing list