Ignore:
Timestamp:
Oct 28, 2008, 8:00:19 PM (16 years ago)
Author:
broder
Message:

Generate the VNC token key at invirt-vnc-server install-time instead
of hard-coding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.postinst

    • Property svn:executable set to *
    r1386 r1388  
    2424            echo "Please be sure to copy vncproxy.crt and vncproxykey.pem into /usr/share/invirt-vnc-server/"
    2525        fi
     26        mkdir -p /etc/invirt/secrets
     27        if ! [ -e /etc/invirt/secrets/vnc-key ]; then
     28            openssl rand -base64 33 >/etc/invirt/secrets/vnc-key
     29        fi
    2630    ;;
    2731
Note: See TracChangeset for help on using the changeset viewer.