Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ciphered authetication is failing #2

Open
PereBueno opened this issue Nov 15, 2016 · 1 comment
Open

Ciphered authetication is failing #2

PereBueno opened this issue Nov 15, 2016 · 1 comment
Assignees

Comments

@PereBueno
Copy link
Owner

Authetication is working only if plain text passwords are used in yaml file.

Once a call is done to cipher this pass (curl http://user:PASS@localhost:8888/encrypt --data-urlencode PASS) there's no way to decipher that pass, pasting error message received when calling curl http://user:PASS@localhost:8888/decrypt --data-urlencode [result of previous call] :

javax.crypto.IllegalBlockSizeException: Data must not be longer than 256 bytes

@PereBueno
Copy link
Owner Author

Also, generated key is too long, definitely longer than 256 chars.

Maybe a solution would be using a different algorithm for encryption (RSA only allows up to 256 bytes)

@PereBueno PereBueno self-assigned this Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant