vapor-ware / sctl

SCTL is not End2End encryption, instead SCTL is more of an envelope, in which you store secrets until they are needed, and those secrets should only remain available in plain text while the operation that needs them is active.
GNU General Public License v3.0
8 stars 2 forks source link

ENV check for SCTL_KEY is inconsistent #22

Closed lazypower closed 5 years ago

lazypower commented 5 years ago

when sending, we dont even check. the error message is terrible.

When adding, it doesn't check for the flag. I should og back through and address these behavior patterns before the 1.0.0 dust settles into a stable release.

lazypower commented 5 years ago

This shouldn't actually be an ENV check. this should be checking for the presence of the "key" flag on the subcommands that use it.