Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

rc2: vendor github.com/dgryski/go-rc2 #24

Merged
merged 1 commit into from
Jun 23, 2015
Merged

rc2: vendor github.com/dgryski/go-rc2 #24

merged 1 commit into from
Jun 23, 2015

Conversation

dgryski
Copy link
Contributor

@dgryski dgryski commented Jun 20, 2015

This eliminates an external dependency and simplifies the addition of
go-pkcs12 to /x/crypto.

https://www.ietf.org/rfc/rfc2268.txt
http://people.csail.mit.edu/rivest/pubs/KRRR98.pdf

This code is licensed under the MIT license.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This license header may need to change or be removed?

Even though Microsoft is using a MIT license too: https://github.com/Azure/go-pkcs12/blob/master/LICENSE

This will all need to change when submitted to x/crypto: http://golang.org/doc/contribute.html#copyright

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rest of go-pkcs12 is also under MIT. I can of course relicense it under the Go license when that change occurs.

@nathany
Copy link
Contributor

nathany commented Jun 20, 2015

Thanks @dgryski. I'm a crypto novice, so I'm commenting on surface level code style things. I'll let the fine folks at Microsoft do a proper review.

@nathany
Copy link
Contributor

nathany commented Jun 20, 2015

One last thing, I think all exported identifiers should have comments (golint). Comments on internal identifiers doesn't hurt either.

This eliminates an external dependency and simplifies the addition of
go-pkcs12 to /x/crypto.
@paulmey
Copy link
Member

paulmey commented Jun 22, 2015

The cipher is functioning fine on the pkcs12 test cases and we'll get the real crypto review when we try to contribute it to x/crypto, where the experts are.
Godoc comments on exported identifiers are a must-have for contributing to Go. Otherwise, LGTM.

@dgryski
Copy link
Contributor Author

dgryski commented Jun 23, 2015

All exported identifiers have godoc.

@dgryski
Copy link
Contributor Author

dgryski commented Jun 23, 2015

Today I received my Microsoft CLA approval.

@paulmey
Copy link
Member

paulmey commented Jun 23, 2015

Awesome, thanks @dgryski

paulmey added a commit that referenced this pull request Jun 23, 2015
rc2: vendor github.com/dgryski/go-rc2
@paulmey paulmey merged commit a635c06 into Azure:master Jun 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants