I wanted to calculate the fingerprint of the encrypton key in python, thats what works for me:
Read more
Code:
import base64
import hashlib
import hmac
import json
import sys
def get_fingerprint(encryptionkey):
b = base64.b64decode(encryptionkey)
id_key = hashlib.pbkdf2_hmac('sha256', b, b'_id_key', 10)
prefix = hashlib.sha256(b"Proxmox Backup Encryption Key Fingerprint").digest()
h = hashlib.sha256(prefix + id_key).hexdigest()
return ':'.join(h[i:i+2] for i in...
Read more