mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-31 17:39:38 +00:00
Merge remote-tracking branch 'retspen/master'
Conflicts: conf/requirements.txt
This commit is contained in:
@@ -9,4 +9,4 @@ register = template.Library()
|
||||
def ssh_to_fingerprint(line):
|
||||
key = base64.b64decode(line.strip().split()[1].encode('ascii'))
|
||||
fp_plain = hashlib.md5(key).hexdigest()
|
||||
return ':'.join(a+b for a, b in zip(fp_plain[::2], fp_plain[1::2]))
|
||||
return ':'.join(a + b for a, b in zip(fp_plain[::2], fp_plain[1::2]))
|
||||
|
||||
Reference in New Issue
Block a user