tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Throw error on unpack if all files in package are encrypted and passphrase is not supplied #10

Open jheiss opened 12 years ago

jheiss commented 12 years ago

We normally allow a package containing encrypted files to be installed even if the user does not supply the passphrase to decrypt the files. We just skip installing the encrypted files. This allows developers to install packages with production credentials in non-production environments for testing, etc.

However, if a package only contains encrypted files it doesn't make sense to allow folks to install it if they don't provide the passphrase, as no files would get installed.

Was: https://sourceforge.net/apps/trac/tpkg/ticket/11