If the vault was created with the --share option then the contents of the file changes:
Contents of important.txt.vault
The presense of the .shared file tells DVault that this file has been shared between two parties and uses a single use passphrase. The decryption process is essentially the same however the messages displayed to the user change to provide some additional guidance to the reciever of the vault.
.dvault format
The .dvault file is stored in your home directory and copied into each vault that you create.
The .dvault file contains the RSA Keys and a salted copy of your passphrase. The RSA Private key is encrypted using your passphrase using AES as described in the Technical Details section.
dvault encrypt --share important.txt
> Unlocked to imporant.txt.vault
/.dvault
/.shared
/encrypted/important.txt
version:1
salt: <passphrase salt>
passphrase_hash: <hash of passphrase>
iv:<IV>
---- BEGIN DVAULT PRIVATE KEY ----
<encrypted private key>
---- END DVAULT PRIVATE KEY ----
---- BEGIN DVAULT PUBLIC KEY ----
<contents of public key>
---- END DVAULT PUBLIC KEY ----