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

proposal: crypto: add key wrap support for AES key wrap for rfc 3394 and rfc 5649 #30128

Closed
rajnikant12345 opened this issue Feb 8, 2019 · 1 comment
Labels
FrozenDueToAge Proposal Proposal-Crypto Proposal related to crypto packages or other security issues
Milestone

Comments

@rajnikant12345
Copy link

rajnikant12345 commented Feb 8, 2019

What version of Go are you using (go version)?

$ go version
go version go1.11.1 linux/amd64

Does this issue reproduce with the latest release?

NO

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/rajni/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/rajni/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build598233196=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Symmetric and Asymmetric keys are need to be exported from a Key Management Solution, 3394 and rfc 5649 explains a standard for this.
rfc 3394 is for wrapping block length keys and rfc 5649 is an extension for wrapping secret of any length.
I am proposing to add this support in Golang and add key wrap support for AES key wrap for rfc 3394 and rfc 5649.

What did you expect to see?

Support in Go for rfc 3394 and rfc 5649.

What did you see instead?

No support in Go for rfc 3394 and rfc 5649.

@gopherbot gopherbot added this to the Proposal milestone Feb 8, 2019
@agnivade agnivade changed the title proposal: add key wrap support for AES key wrap for rfc 3394 and rfc 5649 proposal: crypto: add key wrap support for AES key wrap for rfc 3394 and rfc 5649 Feb 8, 2019
@agnivade agnivade added the Proposal-Crypto Proposal related to crypto packages or other security issues label Feb 8, 2019
@FiloSottile
Copy link
Contributor

Duplicate of #27599

@FiloSottile FiloSottile marked this as a duplicate of #27599 Feb 8, 2019
@golang golang locked and limited conversation to collaborators Feb 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Proposal Proposal-Crypto Proposal related to crypto packages or other security issues
Projects
None yet
Development

No branches or pull requests

4 participants