mirror of
https://github.com/retspen/webvirtcloud
synced 2025-07-31 12:41:08 +00:00
Merge remote-tracking branch 'retspen/master'
Conflicts: conf/requirements.txt
This commit is contained in:
commit
db1ab88f51
11 changed files with 456 additions and 415 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue