{"id":65210,"library":"jcmturner-gokrb5-v6","title":"Go Kerberos 5 (gokrb5)","description":"Package gokrb5 provides a Kerberos 5 implementation for Go.","status":"active","version":"6.1.1","language":"go","source_language":null,"source_url":"https://github.com/jcmturner/gokrb5","tags":["kerberos","authentication","security","gokrb5"],"install":[{"cmd":"go get gopkg.in/jcmturner/gokrb5.v6","lang":"bash","label":"Install gopkg.in/jcmturner/gokrb5.v6"}],"dependencies":[],"imports":[{"symbol":"gokrb5","correct":"gopkg.in/jcmturner/gokrb5.v6"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"gopkg.in/jcmturner/gokrb5.v6/client\"\n    \"gopkg.in/jcmturner/gokrb5.v6/config\"\n)\n\nfunc main() {\n    cfg, _ := config.Load(\"/etc/krb5.conf\")\n    cl := client.NewWithPassword(\"username\", \"REALM\", \"password\", cfg)\n    err := cl.Login()\n    if err != nil {\n        fmt.Println(\"Login failed:\", err)\n    } else {\n        fmt.Println(\"Authenticated\")\n    }\n}","lang":"go","description":"Load Kerberos config and authenticate with a password."},"warnings":[{"fix":"Use gopkg.in/jcmturner/gokrb5.v6 as the import path.","message":"The v6 import path uses gopkg.in; direct github.com import may not work.","severity":"gotcha","affected_versions":">=6.0.0"}],"env_vars":null,"search_vec":"'5':3,10 'authent':15 'go':1,13 'gokrb5':4,6,17 'implement':11 'kerbero':2,9,14 'packag':5 'provid':7 'secur':16","created_at":"2026-06-17T17:07:16.955686+00:00","updated_at":"2026-06-17T17:07:16.955686+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/jcmturner/gokrb5","github":"https://github.com/jcmturner/gokrb5","docs":"https://pkg.go.dev/gopkg.in/jcmturner/gokrb5.v6#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","crypto"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}