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
x/crypto/ssh: docs for SignCert omit mention of nonce #21384
Comments
Add the relevant lines to the doc: https://go-review.googlesource.com/57051 |
@meirf thanks. I'm not familiar with this code, but I've added @FiloSottile as a reviewer to have a look at the CL. |
Hi, I'd like to fix this. Is there a way for me to "adopt" the change that @jakob223 started, or should I create a new changeset? |
Change https://golang.org/cl/230212 mentions this issue: |
Document the fact that SignCert sets the Nonce field. This makes it clear that callers need not set it themselves. Original change by Jakob Weisblat <jakobw@mit.edu> in CL 57051. Fixes golang/go#21384 Change-Id: I161e0909ba6c8d07be5f8e68dc6e0f0392bea63f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/230212 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Document the fact that SignCert sets the Nonce field. This makes it clear that callers need not set it themselves. Original change by Jakob Weisblat <jakobw@mit.edu> in CL 57051. Fixes golang/go#21384 Change-Id: I161e0909ba6c8d07be5f8e68dc6e0f0392bea63f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/230212 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Document the fact that SignCert sets the Nonce field. This makes it clear that callers need not set it themselves. Original change by Jakob Weisblat <jakobw@mit.edu> in CL 57051. Fixes golang/go#21384 Change-Id: I161e0909ba6c8d07be5f8e68dc6e0f0392bea63f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/230212 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Document the fact that SignCert sets the Nonce field. This makes it clear that callers need not set it themselves. Original change by Jakob Weisblat <jakobw@mit.edu> in CL 57051. Fixes golang/go#21384 Change-Id: I161e0909ba6c8d07be5f8e68dc6e0f0392bea63f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/230212 Reviewed-by: Filippo Valsorda <filippo@golang.org>
Document the fact that SignCert sets the Nonce field. This makes it clear that callers need not set it themselves. Original change by Jakob Weisblat <jakobw@mit.edu> in CL 57051. Fixes golang/go#21384 Change-Id: I161e0909ba6c8d07be5f8e68dc6e0f0392bea63f Reviewed-on: https://go-review.googlesource.com/c/crypto/+/230212 Reviewed-by: Filippo Valsorda <filippo@golang.org>
The documentation for
Certificate.SignCert
should note that it automatically setsc.Nonce
to a 32-byte random nonce before signing.The text was updated successfully, but these errors were encountered: