{"id":47817971,"url":"https://github.com/greenbone/gvm-auth-lib","last_synced_at":"2026-04-03T18:52:12.462Z","repository":{"id":336195820,"uuid":"1144062841","full_name":"greenbone/gvm-auth-lib","owner":"greenbone","description":"Authentication library for Greenbone Vulnerability Managment aka. OpenVAS","archived":false,"fork":false,"pushed_at":"2026-03-23T07:22:28.000Z","size":226,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-24T04:22:21.769Z","etag":null,"topics":["authentication","backend","extended","gea","greenbone","greenbone-community-edition","gvm","library","openvas","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/greenbone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-28T08:45:32.000Z","updated_at":"2026-03-23T07:22:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/greenbone/gvm-auth-lib","commit_stats":null,"previous_names":["greenbone/gvm-auth-lib"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/greenbone/gvm-auth-lib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fgvm-auth-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fgvm-auth-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fgvm-auth-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fgvm-auth-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/greenbone","download_url":"https://codeload.github.com/greenbone/gvm-auth-lib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/greenbone%2Fgvm-auth-lib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31370296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","backend","extended","gea","greenbone","greenbone-community-edition","gvm","library","openvas","rust"],"created_at":"2026-04-03T18:52:11.719Z","updated_at":"2026-04-03T18:52:12.444Z","avatar_url":"https://github.com/greenbone.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Greenbone Logo](https://www.greenbone.net/wp-content/uploads/gb_new-logo_horizontal_rgb_small.png)\n\n# GVM Authentication Library (gvm-auth-lib) \u003c!-- omit in toc --\u003e\n\nThe GVM Authentication Library is a Rust library for common authentication\nfunctionality used within the Greenbone Vulnerability Manager such as\nthe generation of JSON Web Tokens and communicating with authentication\nAPIs like OAuth and OpenID Connect.\n\nThe library is mostly implemented in Rust but a wrapper for use in C is also\nincluded.\nThe components are organized as a Rust workspace consisting of multiple crates.\n\n## Main Rust library (gvm-auth)\n\nThe `gvm-auth` crate is the main library for use in Rust.\n\nIt can be built with the standard Cargo command\n```\ncargo build -p gvm-auth\n```\n\n## C wrapper library (gvm-auth-c)\n\nThe `gvm-auth-c` crate is a wrapper of the library for use in C.\n\nIt can be built with the standard Cargo command\n```\ncargo build -p gvm-auth-c\n```\n\nIn case of build-time errors, it can be useful to exclude the C header file\ngeneration as cargo and rustc often give more helpful error messages than\ncbindgen.\n\nTo do this, you can disable the default features when building the crate:\n\n```\ncargo build -p gvm-auth-c --no-default-features\n```\n\n### Preparing the installation and tests\n\nTo automatically install the C library or build the Cgreen tests,\nfirst create a build directory and initialize the CMake project inside\nwith the same installation prefix as gvm-libs and other GVM modules like gvmd.\n\n```\nmkdir build\ncd build\ncmake -DCMAKE_INSTALL_PREFIX=~/my-gvm-prefix ..\n```\n\n### Installation\n\nIf the prefix is set up correctly, you should be able to install the library,\nheader file and pkgconfig file with the standard make target:\n\n```\nmake install\n```\n\nIt can then be added as a dependency to other CMake projects as\n`libgvm_auth`:\n\n```\npkg_check_modules(LIBGVM_AUTH REQUIRED libgvm_auth\u003e=0.1.0)\n```\n\n### Cgreen tests\n\nInside the build directory you can build the tests with the make target `tests`\nand then run them with the `test` target:\n```\nmake tests\nmake test\n```\n\n## CLI tools (gvm-auth-cli)\n\nThe `gvm-auth-cli` crate is a command line tool for testing various functions\nof the GVM authentication libary `gvm-auth-lib`.\n\nIt can be built with the standard Cargo command\n```\ncargo build -p gvm-auth-cli\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fgvm-auth-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreenbone%2Fgvm-auth-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreenbone%2Fgvm-auth-lib/lists"}