You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

qemu.sasl 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # If you want to use VNC remotely without TLS, then you *must*
  2. # pick a mechanism which provides session encryption as well
  3. # as authentication.
  4. #
  5. # If you are only using TLS, then you can turn on any mechanisms
  6. # you like for authentication, because TLS provides the encryption
  7. #
  8. # If you are only using UNIX sockets then encryption is not
  9. # required at all.
  10. #
  11. # NB, previously DIGEST-MD5 was set as the default mechanism for
  12. # QEMU VNC. Per RFC 6331 this is vulnerable to many serious security
  13. # flaws as should no longer be used. Thus GSSAPI is now the default.
  14. #
  15. # To use GSSAPI requires that a QEMU service principal is
  16. # added to the Kerberos server for each host running QEMU.
  17. # This principal needs to be exported to the keytab file listed below
  18. mech_list: gssapi
  19. # If using TLS with VNC, or a UNIX socket only, it is possible to
  20. # enable plugins which don't provide session encryption. The
  21. # 'scram-sha-1' plugin allows plain username/password authentication
  22. # to be performed
  23. #
  24. #mech_list: scram-sha-1
  25. # You can also list many mechanisms at once, and the VNC server will
  26. # negotiate which to use by considering the list enabled on the VNC
  27. # client.
  28. #mech_list: scram-sha-1 gssapi
  29. # Some older builds of MIT kerberos on Linux ignore this option &
  30. # instead need KRB5_KTNAME env var.
  31. # For modern Linux, and other OS, this should be sufficient
  32. #
  33. # This file needs to be populated with the service principal that
  34. # was created on the Kerberos v5 server. If switching to a non-gssapi
  35. # mechanism this can be commented out.
  36. keytab: /etc/qemu/krb5.tab
  37. # If using scram-sha-1 for username/passwds, then this is the file
  38. # containing the passwds. Use 'saslpasswd2 -a qemu [username]'
  39. # to add entries, and 'sasldblistusers2 -f [sasldb_path]' to browse it
  40. #sasldb_path: /etc/qemu/passwd.db