{"id":14066851,"url":"https://github.com/hrbrmstr/pubcheck","last_synced_at":"2025-10-29T01:30:42.389Z","repository":{"id":61039546,"uuid":"482335984","full_name":"hrbrmstr/pubcheck","owner":"hrbrmstr","description":"Check Safety of SSH Public Keys","archived":false,"fork":false,"pushed_at":"2022-10-08T11:01:01.000Z","size":30,"stargazers_count":13,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"batman","last_synced_at":"2025-02-01T20:51:15.449Z","etag":null,"topics":["r","rstats","security","ssh-key"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-16T18:51:22.000Z","updated_at":"2023-08-01T11:34:51.000Z","dependencies_parsed_at":"2022-10-09T01:57:04.666Z","dependency_job_id":null,"html_url":"https://github.com/hrbrmstr/pubcheck","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpubcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpubcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpubcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fpubcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/pubcheck/tar.gz/refs/heads/batman","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238752297,"owners_count":19524734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["r","rstats","security","ssh-key"],"created_at":"2024-08-13T07:05:17.855Z","updated_at":"2025-10-29T01:30:42.036Z","avatar_url":"https://github.com/hrbrmstr.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\neditor_options: \n  chunk_output_type: console\n---\n```{r pkg-knitr-opts, include=FALSE}\nhrbrpkghelpr::global_opts()\n```\n\n```{r badges, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::stinking_badges()\n```\n\n```{r description, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::yank_title_and_description()\n```\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n```{r ingredients, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::describe_ingredients()\n```\n\n## Installation\n\n```{r install-ex, results='asis', echo=FALSE, cache=FALSE}\nhrbrpkghelpr::install_block()\n```\n\n## Usage\n\n```{r lib-ex}\nlibrary(pubcheck)\nlibrary(tidyverse)\n\n# current version\npackageVersion(\"pubcheck\")\n\n```\n\n### Local file\n\n```{r ex-01}\ncheck_ssh_pub_key(\"~/.ssh/id_rsa.pub\") |\u003e \n  mutate(key = ifelse(is.na(key), NA_character_, sprintf(\"%s…\", substr(key, 1, 30)))) |\u003e \n  knitr::kable()\n```\n\n### A GitHub user\n\n```{r ex-02}\ncheck_gh_user_keys(c(\"hrbrmstr\", \"mikemahoney218\")) |\u003e \n  mutate(key = ifelse(is.na(key), NA_character_, sprintf(\"%s…\", substr(key, 1, 30)))) |\u003e \n  knitr::kable()\n```\n\n### Keys of all the users a GitHub account is following\n\n```{r ex-03}\ncheck_gh_following(\"koenrh\") |\u003e \n  mutate(key = ifelse(is.na(key), NA_character_, sprintf(\"%s…\", substr(key, 1, 30)))) |\u003e \n  knitr::kable()\n```\n\n```{r ex-04}\ncheck_gh_repo_contributors(\"hrbrmstr\", \"ggalt\") |\u003e \n  mutate(key = ifelse(is.na(key), NA_character_, sprintf(\"%s…\", substr(key, 1, 30)))) |\u003e \n  knitr::kable()\n```\n\n## pubcheck Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that this project is released with a Contributor Code of Conduct. \nBy participating in this project you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fpubcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fpubcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fpubcheck/lists"}