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

Guidance on generating a collector HPKE key #379

Open
inahga opened this issue Aug 7, 2023 · 5 comments
Open

Guidance on generating a collector HPKE key #379

inahga opened this issue Aug 7, 2023 · 5 comments
Labels
Copywriting documentation Improvements or additions to documentation Usability

Comments

@inahga
Copy link
Contributor

inahga commented Aug 7, 2023

The new task page doesn't provide guidance on how I can acquire/generate a collector HPKE key.

If adopting #378, we can consider having the key generated client side, with the private key being downloadable by the user, and the public key uploaded to DU.

@inahga
Copy link
Contributor Author

inahga commented Aug 7, 2023

I'd be happy to PR a better description, but we might also have to also consider how it's done? I had to use hpke_keygen, copy the HPKE config field, echo "$(wl-paste)=" | base64 -d >hpke.key--note the padding character that I had to add... I wouldn't expect an end-user to have to do all that.

@divergentdave
Copy link
Collaborator

The issues divviup/janus#1182 and divviup/janus#1602 would improve this situation by making the procedure much shorter. (and cross-platform)

@jbr
Copy link
Contributor

jbr commented Aug 9, 2023

As of #388, the guidance is cargo install divviup-cli --git https://github.com/divviup/divviup-api; divviup -t <API_TOKEN> hpke-config generate

@jbr
Copy link
Contributor

jbr commented Aug 10, 2023

is this safe to close? or does it represent the need to document this in the interface?

@inahga
Copy link
Contributor Author

inahga commented Aug 10, 2023

Interface documentation was the main goal of this issue, with a simpler means to accomplish it being a (very important) secondary goal.

@jbr jbr added documentation Improvements or additions to documentation Usability Copywriting labels Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Copywriting documentation Improvements or additions to documentation Usability
Projects
None yet
Development

No branches or pull requests

3 participants