commit | 5295e8364332db77d75fce11f1d19c053919a9c9 | [log] [tgz] |
---|---|---|
author | aviau <alexandre@alexandreviau.net> | Thu Jun 14 17:10:25 2018 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Thu Sep 27 16:59:25 2018 +0000 |
tree | 4b9419c75a128f2f43a06969e4298aaf1a855fc4 | |
parent | 0e37d006457bf46f9e6692014ba72ef82c33022c [diff] |
openpgp: move addUserID outside of ReadEntity In change id Id992676ef2363779a7028f4799180efb027fcf47, "current" was moved into the UserID packet handling scope. This was the only thing preventing us to move the UserID packet handling code inside its own function. This patch moves the UserID packet handling code inside a new addUserID function. This is consistent with the other existing addSubKey method. "current" is renamed to "identity" for improved readability. Change-Id: I5d58eb35ab5fa9fc7d9d111fa186fec6f5e11e79 Reviewed-on: https://go-review.googlesource.com/118959 Reviewed-by: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.