cybernoid / archivemount

A fuse filesystem for mounting archives in formats supported by libarchive.
Other
184 stars 19 forks source link

Supply a passphrase #7

Closed chkno closed 4 years ago

chkno commented 4 years ago

archivemount has no mechanism for allowing the user to supply a passphrase when mounting an encrypted archive.

$ echo the-secret > secret

$ bsdtar --format zip -c -f secret.zip --options zip:encryption=aes256 secret
Enter passphrase:

$ mkdir secret.mnt

$ archivemount secret.zip secret.mnt

$ ls secret.mnt
secret

$ cat secret.mnt/secret
cat: secret.mnt/secret: Inappropriate ioctl for device