Changeset 1414 for trunk/packages/invirt-vnc-server
- Timestamp:
- Oct 29, 2008, 12:00:16 AM (16 years ago)
- Location:
- trunk/packages/invirt-vnc-server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-server/debian/changelog
r1407 r1414 1 invirt-vnc-server (0.0.4) unstable; urgency=low 2 3 * Deprecate /etc/invirt/secrets in favor of /etc/invirt/vnc 4 5 -- Evan Broder <broder@mit.edu> Tue, 28 Oct 2008 23:58:37 -0400 6 1 7 invirt-vnc-server (0.0.3) unstable; urgency=low 2 8 -
trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.postinst
r1400 r1414 21 21 case "$1" in 22 22 configure) 23 mkdir -p /etc/invirt/ secrets24 if ! [ -e /etc/invirt/ secrets/vnc.pem ]; then25 openssl genrsa -out /etc/invirt/ secrets/vnc.pem 1024 >/dev/null23 mkdir -p /etc/invirt/vnc 24 if ! [ -e /etc/invirt/vnc/server.pem ]; then 25 openssl genrsa -out /etc/invirt/vnc/server.pem 1024 >/dev/null 26 26 fi 27 27 28 if ! [ -e /etc/invirt/ secrets/vnc.crt ]; then29 openssl req -new -x509 -nodes -sha1 -subj '/' -key /etc/invirt/ secrets/vnc.pem \30 > /etc/invirt/ secrets/vnc.crt28 if ! [ -e /etc/invirt/vnc/server.crt ]; then 29 openssl req -new -x509 -nodes -sha1 -subj '/' -key /etc/invirt/vnc/server.pem \ 30 > /etc/invirt/vnc/server.crt 31 31 fi 32 32 33 if ! [ -e /etc/invirt/ secrets/vnc-key ]; then34 openssl rand -base64 33 >/etc/invirt/ secrets/vnc-key33 if ! [ -e /etc/invirt/vnc/token-key ]; then 34 openssl rand -base64 33 >/etc/invirt/vnc/token-key 35 35 fi 36 36 ;; -
trunk/packages/invirt-vnc-server/invirt-vnc-getcert
r1400 r1414 4 4 5 5 try: 6 print open('/etc/invirt/ secrets/vnc.crt').read()6 print open('/etc/invirt/vnc/server.crt').read() 7 7 except IOError, e: 8 8 sys.exit(e.errno) -
trunk/packages/invirt-vnc-server/python/vnc/extauth.py
r1403 r1414 21 21 22 22 def getTokenKey(): 23 return file('/etc/invirt/ secrets/vnc-key').read().strip()23 return file('/etc/invirt/vnc/token-key').read().strip() 24 24 25 25 def getPort(name, auth_data):
Note: See TracChangeset
for help on using the changeset viewer.