{"id":17432103,"url":"https://github.com/0mp/kbfsd","last_synced_at":"2026-02-09T19:05:36.366Z","repository":{"id":82148950,"uuid":"136647581","full_name":"0mp/kbfsd","owner":"0mp","description":"FreeBSD service daemon for KBFS, the Keybase filesystem","archived":false,"fork":false,"pushed_at":"2021-07-22T10:46:49.000Z","size":37,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-22T09:50:00.196Z","etag":null,"topics":["daemon","filesystem","freebsd","fuse","kbfs","keybase","rc","service"],"latest_commit_sha":null,"homepage":"https://www.freshports.org/security/kbfsd","language":"Roff","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/0mp.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-08T17:25:17.000Z","updated_at":"2024-11-03T23:49:15.000Z","dependencies_parsed_at":"2023-03-01T02:30:50.960Z","dependency_job_id":null,"html_url":"https://github.com/0mp/kbfsd","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/0mp/kbfsd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fkbfsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fkbfsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fkbfsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fkbfsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0mp","download_url":"https://codeload.github.com/0mp/kbfsd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0mp%2Fkbfsd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29278012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-09T17:15:22.002Z","status":"ssl_error","status_checked_at":"2026-02-09T17:14:42.395Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["daemon","filesystem","freebsd","fuse","kbfs","keybase","rc","service"],"created_at":"2024-10-17T08:24:07.422Z","updated_at":"2026-02-09T19:05:31.358Z","avatar_url":"https://github.com/0mp.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# NAME\n\n**kbfsd** - service daemon for the Keybase filesystem (KBFS)\n\n# SYNOPSIS\n\nRequired\nrc.conf(5)\nvariables:\n\n\tkbfsd_enable=\"YES\"\n\tkbfsd_user=\"beastie\"\n\nOptional\nrc.conf(5)\nvariables:\n\n\tkbfsd_keybase_username=\"${kbfsd_user}\"\n\tkbfsd_mountpoint=\"/keybase\"\n\n# DESCRIPTION\n\n**kbfsd**\nis an\nrc(8)\ndaemon for the Keybase filesystem (KBFS).\nIts aim is to ease the process of using KBFS on\nFreeBSD.\nIt takes care of the configuration the Keybase user would have to do manually\notherwise.\n\n**kbfsd**\ndoes not start automatically even when\n*kbfsd\\_enable*\nis set to\n'`YES`'\nin\nrc.conf(5).\nSee the\n*CAVEATS*\nsection for more details.\n\n**kbfsd**\nhas to configure some bits of the system in order to mount KBFS as\n*kbfsd_user*.\n*kbfsd_mountpoint*\nis created and\nthe\nsysctl(8)\ntunable\n*vfs.usermount*\nis set to\n\"1\"\nso that\n*kbfsd_user*\ncould mount\n*kbfsd_mountpoint*.\nThen\n*kbfsd_user*\nis added to the\n\"operator\"\ngroup to be able to use the\n*/dev/fuse*\ndevice.\nFinally,\n**kbfsd**\nattempts to spin off the Keybase server and create required socket files.\nNote that this step requires\n*kbfsd_user*\nto be able to log in as\n*kbfsd_keybase_username*.\nThis should be possible once\n*kbfsd_user*\nregisters a device with\n'`keybase device add`'.\n\n**kbfsd**\nmay be controlled with the following\nrc.conf(5)\nvariables:\n\n*kbfsd_enable*\n\n\t(*bool*, default: '`NO`')\n\tEnable\n\t**kbfsd**.\n\n*kbfsd_keybase_username*\n\n\t(*str*, default: *kbfsd_user*)\n\tThe username used to log into Keybase.\n\n*kbfsd_mountpoint*\n\n\t(*str*, default: '`/keybase`')\n\tThe directory where KBFS should be mounted.\n\n*kbfsd_user*\n\n\t(*str*, no defaults)\n\tThe login name of a user, who should own\n\t*kbfsd_mountpoint*.\n\tIt cannot be empty.\n\n# INSTALLATION\n\nThe easiest way is to just install the\n**kbfsd**\npackage via\npkg(8)\non\nFreeBSD:\n\n\tpkg install kbfsd\n\n**kbfsd**\ncan be installed manually with the following command:\n\n\tmake all\n\tmake install\n\n# FILES\n\n*/home/*${*kbfsd_user*}*/.config/keybase/kbfsd.*${*kbfsd_user*}*.pid*\n\n\tPID file.\n\n# EXIT STATUS\n\nThe\n**kbfsd**\ndaemon\nexits 0 on success, and \u003e0 if an error occurs.\n\n# SEE ALSO\n\nrc.conf(5),\nmount(8),\nrc(8)\n\n# AUTHORS\n\nThe\n**kbfsd**\ndaemon and its manual page were written by\nMateusz Piotrowski \u003c[0mp@FreeBSD.org](mailto:0mp@FreeBSD.org)\u003e.\n\n# CAVEATS\n\n**kbfsd**\nis\n*not*\nstarted automatically together with other daemons during boot because it uses\nthe\n'`nostart`'\nKEYWORD\n(see rc(8) for details).\nThe reason is that in order to reliably mount KBFS the user has to establish\na session with the Keybase server first.\nThis is done by calling:\n'`keybase login username`'\n(where\n*username*\nis the same as\n*kbfsd_keybase_username*)\n.\nUnfortunately, this command happens to block the booting process from time to\ntime, which is unacceptable.\n\n# BUGS\n\n**kbfsd**\nseems to kill\n**kbfsfuse**\ntoo rapidly for\n**kbfsfuse**\nto properly unmount.\nAs a workaround,\n**kbfsd**\ncalls\numount(8)\non the mount point in the\n*poststop*\nphase\n(see rc.subr(8)).\n\nCurrently,\n**kbfsd**\nuses\n*kbfsd_env*\ninternally to set the\n`HOME`\nenvironmental variable to the home directory of\n*kbfsd_user*.\nIt is recommended to read the service file before setting\n*kbfsd_env*\nin\nrc.conf(5).\n\nOn some\nFreeBSD\nversions older than 13.0 the name of\nfusefs(5)\nmight be\n\"fuse\"\ninstead of\n\"fusefs\".\nAs a result,\n**kbfsd**\nmight fail to start.\nA potential workaronud is to set\n*required_modules*\nto an empty string in\n*/usr/local/etc/rc.conf.d/kbfsd*\nand then loading the FUSE kernel module differently\n(e.g., via\n*kld_list*\nin\nrc.conf(5))\n.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mp%2Fkbfsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0mp%2Fkbfsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0mp%2Fkbfsd/lists"}