]> git.proxmox.com Git - spiceterm.git/blobdiff - Makefile
use SASL for auth, always use TLS
[spiceterm.git] / Makefile
index 9d610d052fe294bfe0abe4c545df5e9b8a6acacf..af66df6945213acb0de4a370fc5ecff0d0206c47 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 PROGRAMS=spiceterm
 
 HEADERS=translations.h event_loop.h glyphs.h spiceterm.h
-SOURCES=screen.c event_loop.c input.c spiceterm.c
+SOURCES=screen.c event_loop.c input.c spiceterm.c auth-pve.c
 
 #export G_MESSAGES_DEBUG=all 
 #export SPICE_DEBUG=1
@@ -14,7 +14,8 @@ spiceterm: ${SOURCES} ${HEADERS} spiceterm.c
 
 .PHONY: test
 test: spiceterm
-       ./spiceterm & remote-viewer spice://localhost:5912
+       #./spiceterm & remote-viewer spice://localhost:5912
+       G_MESSAGES_DEBUG=all SPICE_DEBUG=1 ./spiceterm & G_MESSAGES_DEBUG=all SPICE_DEBUG=1 remote-viewer --debug 'spice://localhost?tls-port=5912' --spice-ca-file /etc/pve/pve-root-ca.pem --spice-secure-channels=all
 
 .PHONY: distclean
 distclean: clean