Closed liminalitythree closed 6 years ago
it seems to be thrown in the splitToken function when parsing the footer. If I set the footer parameter to nil it works fine.
Any update on this please ?
Thank you for mentioning this error. There is mistake in README file. Please use it as
err := v2.Decrypt(token, symmetricKey, &newJsonToken, &newFooter)
Fixed in #6
When running the example in the README, the local mode decryption step fails with error "can't unmarshal token data to the given type of value". Right now the library seems unusable.