trek10inc / serverless-secrets

An opinionated tool for safely managing and deploying Serverless projects and their secrets.
Other
165 stars 27 forks source link

Can't encrypt values that are numeric only characters #15

Closed Replica- closed 7 years ago

Replica- commented 7 years ago

Running sls encrypt -n XXXX_PASSWD -v 1234567 -k 9999-9999-9999-9999 Always results in Serverless: UnknownError: 413

Alternatively, running sls encrypt -n XXXX_PASSWD -v a1234567 -k 9999-9999-9999-9999 Results in success

Unfortunately, my XXXX_PASSWD is all Numeric characters. I would hazard a guess here - at some point the value is being interpreted as Number and not a String value.

Replica- commented 7 years ago

Just noticed deprecated. Posted in wrong area