Registry / crypto / titanous-rocacheck

titanous-rocacheck

JSON →
library0.0.0-20171023193734-afe73141d399gogounverified

Package rocacheck checks if a cryptographic key was generated by broken Infineon code vulnerable to the Return of Coppersmith's Attack (ROCA) / CVE-2017-15361.

go get github.com/titanous/rocacheck
INSTALL
IMPORT
SIG · TITANOUS-ROCACHECK
T
titanous-rocacheck
cryptogov0.0.0-20171023193734-afe73141d399
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rocacheck
✓ github.com/titanous/rocacheck

Checks if an RSA public key is vulnerable to the ROCA attack.

package main import ( "crypto/rsa" "fmt" "github.com/titanous/rocacheck" ) func main() { key := &rsa.PublicKey{N: big.NewInt(0)} // example key if rocacheck.IsWeak(key) { fmt.Println("Key is vulnerable to ROCA") } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20171023193734-afe73141d399latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
36
Resources
titanous-rocacheck — go get titanous-rocacheck · libregistry