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

[BUG] documentation for "encoding" parameter is missing #104

Open
Vampire opened this issue Nov 6, 2024 · 0 comments
Open

[BUG] documentation for "encoding" parameter is missing #104

Vampire opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Vampire
Copy link

Vampire commented Nov 6, 2024

I tried to get client-side hashing via the "REST Interface" to work.
I had a hard time (in the end reading the source code) to find out, that I have to give data base64 encoded and addtionally set encoding to BASE64.
I just got as error, that the supplied data length does not match the hash algorithm expected length.
After I have set encoding to BASE64 it started working.
But the only places where it is mentioned is in doc/htdocs/REST_Interface.html as possible request parameter.
But it is nowhere really described and completely missing e.g. from https://docs.keyfactor.com/signserver/latest/plain-signer and https://docs.keyfactor.com/signserver/latest/client-side-hashing.

I think it would be very beneficial to add some words about it to the documentation.

@Vampire Vampire added the bug Something isn't working label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant