- Timestamp:
- Oct 28, 2008, 10:53:32 PM (16 years ago)
- Location:
- trunk/packages/invirt-vnc-server
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-server/debian/changelog
r1400 r1403 3 3 * Cleanup the init script to use /lib/init/std-init.sh 4 4 * Generate the SSL certificates at install-time 5 * File reads are cheap. Especially when the file is short. Don't cache 6 the token key 5 7 6 -- Evan Broder <broder@mit.edu> Tue, 28 Oct 2008 2 1:19:14 -04008 -- Evan Broder <broder@mit.edu> Tue, 28 Oct 2008 22:48:24 -0400 7 9 8 10 invirt-vnc-server (0.0.1) unstable; urgency=low -
trunk/packages/invirt-vnc-server/python/vnc/extauth.py
r1388 r1403 21 21 22 22 def getTokenKey(): 23 token_key = file('/etc/invirt/secrets/vnc-key').read().strip() 24 while True: 25 yield token_key 26 getTokenKey = getTokenKey().next 23 return file('/etc/invirt/secrets/vnc-key').read().strip() 27 24 28 25 def getPort(name, auth_data):
Note: See TracChangeset
for help on using the changeset viewer.