Skip to content

viathefalcon/vc_backup_utils

Repository files navigation

Verifiable Credential Backup Utils

In 2022, I implemented the Verified ID import/export ("backup/restore") feature in Microsoft Authenticator, mainly via the Verifiable Credential SDK for iOS.

This project re-purposes some of the components of the SDK to implement a pair of command-line tools, for macOS, which can decode and encode such backups. Each takes a single command-line argument - the passphrase with which to encrypt or decrypt a backup file - and each reads its input from stdin and writes its output to stdout.

Example

Changing a Backup Password

VCBackupDecoder "lorem ipsum dolor sit amet consectetur adipiscing elit" < Input.jwt | VCBackupEncoder "suspendisse faucibus velit non fermentum dignissim" > Output.jwt