{"id":51823,"library":"titanous-rocacheck","title":"ROCA Vulnerability Checker","description":"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.","status":"active","version":"0.0.0-20171023193734-afe73141d399","language":"go","source_language":null,"source_url":"https://github.com/titanous/rocacheck","tags":["crypto","security","rsa","vulnerability","check"],"install":[{"cmd":"go get github.com/titanous/rocacheck","lang":"bash","label":"Install github.com/titanous/rocacheck"}],"dependencies":[],"imports":[{"symbol":"rocacheck","correct":"github.com/titanous/rocacheck"}],"quickstart":{"code":"package main\n\nimport (\n\t\"crypto/rsa\"\n\t\"fmt\"\n\n\t\"github.com/titanous/rocacheck\"\n)\n\nfunc main() {\n\tkey := &rsa.PublicKey{N: big.NewInt(0)} // example key\n\tif rocacheck.IsWeak(key) {\n\t\tfmt.Println(\"Key is vulnerable to ROCA\")\n\t}\n}","lang":"go","description":"Checks if an RSA public key is vulnerable to the ROCA attack."},"warnings":[],"env_vars":null,"search_vec":"'-15361':28 '-2017':27 'attack':24 'broken':14 'check':6,33 'checker':3 'code':16 'coppersmith':22 'crypto':29 'cryptograph':9 'cve':26 'generat':12 'infineon':15 'key':10 'packag':4 'return':20 'roca':1,25 'rocacheck':5 'rsa':31 'secur':30 'vulner':2,17,32","created_at":"2026-06-15T06:31:24.394608+00:00","updated_at":"2026-06-15T06:31:24.394608+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/titanous/rocacheck","github":"https://github.com/titanous/rocacheck","docs":"https://pkg.go.dev/github.com/titanous/rocacheck#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","security"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}