Compare commits
2 Commits
6f596f1dcb
...
bc8867eb22
Author | SHA1 | Date | |
---|---|---|---|
bc8867eb22 | |||
ec33adba35 |
@ -143,8 +143,9 @@ Client Certificates
|
|||||||
certificate specified by the respective server's `tls_cert` option if you add
|
certificate specified by the respective server's `tls_cert` option if you add
|
||||||
`sasl` to the `capabilities` option and the server supports this.
|
`sasl` to the `capabilities` option and the server supports this.
|
||||||
|
|
||||||
'xD' uses SHA-256 fingerprints of TLS client certificates to authenticate users.
|
'xD' and 'xS' use SHA-256 fingerprints of TLS client certificates
|
||||||
To get the fingerprint from a certificate file in the required form, use:
|
to authenticate users. To get the fingerprint from a certificate file
|
||||||
|
in the required form, use:
|
||||||
|
|
||||||
$ openssl x509 -in public.pem -outform DER | sha256sum
|
$ openssl x509 -in public.pem -outform DER | sha256sum
|
||||||
|
|
||||||
|
4
test
4
test
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/expect -f
|
#!/usr/bin/expect -f
|
||||||
# Very basic end-to-end testing for CI
|
# Very basic end-to-end testing for CI
|
||||||
|
set tempdir [exec mktemp -d]
|
||||||
|
set ::env(XDG_CONFIG_HOME) $tempdir
|
||||||
|
|
||||||
# Run the daemon to test against
|
# Run the daemon to test against
|
||||||
system ./xD --write-default-cfg
|
system ./xD --write-default-cfg
|
||||||
@ -27,7 +29,7 @@ expect "Option changed"
|
|||||||
send "/disconnect\n"
|
send "/disconnect\n"
|
||||||
expect "]"
|
expect "]"
|
||||||
send "/connect\n"
|
send "/connect\n"
|
||||||
expect "Connection established"
|
expect "Welcome to"
|
||||||
|
|
||||||
# Try some chatting
|
# Try some chatting
|
||||||
send "/join #test\n"
|
send "/join #test\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user