[gnutls-devel] GnuTLS | Add an option "--logfile" to redirect informational messages to a specific file (!949)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Mar 21 09:24:46 CET 2019




@DK\_DARKmatter testing the option I see that there are still informational messages printed on a connection. Is that intentional, or you explicitly wanted to exclude them from the option?
```
$ ./gnutls-cli www.google.com --logfile /tmp/aa

- Certificate type: X.509
- Got a certificate list of 2 certificates.
- Certificate[0] info:
 - subject `CN=www.google.com,O=Google LLC,L=Mountain View,ST=California,C=US', issuer `CN=Google Internet Authority G3,O=Google Trust Services,C=US', serial 0x3a15f4c87fb4d33993d3eeb3bf4ae5e4, EC/ECDSA key 256 bits, signed using RSA-SHA256, activated `2019-03-01 09:46:35 UTC', expires `2019-05-24 09:25:00 UTC', pin-sha256="c2zcMA6wQm75LreK+pr2KB4M+5+GpT1FdSSGi1byZ7M="
	Public Key ID:
		sha1:6f680893dc474668d26ded06d3d07e1648786765
		sha256:736cdc300eb0426ef92eb78afa9af6281e0cfb9f86a53d457524868b56f267b3
	Public Key PIN:
		pin-sha256:c2zcMA6wQm75LreK+pr2KB4M+5+GpT1FdSSGi1byZ7M=

- Certificate[1] info:
 - subject `CN=Google Internet Authority G3,O=Google Trust Services,C=US', issuer `CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R2', serial 0x01e3a9301cfc7206383f9a531d, RSA key 2048 bits, signed using RSA-SHA256, activated `2017-06-15 00:00:42 UTC', expires `2021-12-15 00:00:42 UTC', pin-sha256="f8NnEFZxQ4ExFOhSN7EiFWtiudZQVD2oY60uauV/n78="

```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/949#note_152780283
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/20190321/70af0cd5/attachment.html>


More information about the Gnutls-devel mailing list