Ignore:
Timestamp:
Oct 29, 2008, 12:00:16 AM (15 years ago)
Author:
broder
Message:

In invirt-vnc-server, deprecate /etc/invirt/secrets in favor of
/etc/invirt/vnc

Location:
trunk/packages/invirt-vnc-server/debian
Files:
2 edited

Legend:

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

    r1407 r1414  
     1invirt-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
    17invirt-vnc-server (0.0.3) unstable; urgency=low
    28
  • trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.postinst

    r1400 r1414  
    2121case "$1" in
    2222    configure)
    23         mkdir -p /etc/invirt/secrets
    24         if ! [ -e /etc/invirt/secrets/vnc.pem ]; then
    25             openssl genrsa -out /etc/invirt/secrets/vnc.pem 1024 >/dev/null
     23        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
    2626        fi
    2727       
    28         if ! [ -e /etc/invirt/secrets/vnc.crt ]; then
    29             openssl req -new -x509 -nodes -sha1 -subj '/' -key /etc/invirt/secrets/vnc.pem \
    30                 > /etc/invirt/secrets/vnc.crt
     28        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
    3131        fi
    3232       
    33         if ! [ -e /etc/invirt/secrets/vnc-key ]; then
    34             openssl rand -base64 33 >/etc/invirt/secrets/vnc-key
     33        if ! [ -e /etc/invirt/vnc/token-key ]; then
     34            openssl rand -base64 33 >/etc/invirt/vnc/token-key
    3535        fi
    3636    ;;
Note: See TracChangeset for help on using the changeset viewer.