Hi @Vinod Kumar,
good catch, that was my mistake. The final command:
hashlib.pbkdf2_hmac('sha512', b'test123456', open('vault.enpassdb', 'rb').read(16), 100000).hex()[:64]
So basically what Enpass uses as key:
pbkdf2_hmac_sha512 with (currently) 100k iterations (see vault.json for the current count)
the first 16 byte of the encrypted file as sault
the result of the keyderivation is hex encoded and limited to 64 hex digits
Thanks,
Florian