1
1
How can I set up a test encrypted "chat" with GnuTLS, equivalent to the OpenSSL s_client and s_server using GPG credentials?
I would like to tell GnuTLS-serv and -cli to use keys generated with GPG using (example here ):
gpg --gen-key
gpg -a --export 5D1D14D8 > openpgp-server.txt
gpg --export 5D1D14D8 > openpgp-server.bin
gpg --export-secret-keys 5D1D14D8 > openpgp-server-key.bin
gpg -a --export-secret-keys 5D1D14D8 > openpgp-server-key.txt
Is it correct to launch server using a command like this:
gnutls-serv --echo --pgpkeyfile openpgp-server-key.txt --pgpcertfile openpgp-server.txt
?
Also, what arguments needs GnuTLS-cli to connect?
I'm not asking about how to use the GnuTLS' APIs in a certain programming language. I'm asking how to use
– None – 2014-03-04T20:24:49.843gnutls-serv
andgnutls-cli
in the same way you can use OpenSSL'ss_client
ands_server
, that is to create a cryptographic test tunnel between server and client. It's about Cryptography not about Programming or Linux since GnuTLS is exactly like OpenSSL an implementation of SSL and TLS protocols... (there are similar questions like mine, for example: link ).Hi. I would like to tell him to use keys generated with GPG (see above) in a test "chat" between
gnutls-cli
andgnutls-serv
. Thanks in advance. – None – 2014-03-04T21:03:40.140