Revision 697a3d61 lib/ssh.py
b/lib/ssh.py | ||
---|---|---|
34 | 34 |
|
35 | 35 |
|
36 | 36 |
def FormatParamikoFingerprint(fingerprint): |
37 |
"""Formats the fingerprint of L{paramiko.PKey.get_fingerprint()}
|
|
37 |
"""Format paramiko PKey fingerprint.
|
|
38 | 38 |
|
39 | 39 |
@type fingerprint: str |
40 | 40 |
@param fingerprint: PKey fingerprint |
41 |
@return The string hex representation of the fingerprint |
|
41 |
@return: The string hex representation of the fingerprint
|
|
42 | 42 |
|
43 | 43 |
""" |
44 | 44 |
assert len(fingerprint) % 2 == 0 |
Also available in: Unified diff