{"id":657,"date":"2026-08-07T10:50:07","date_gmt":"2026-08-07T01:50:07","guid":{"rendered":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/657"},"modified":"2026-08-07T10:50:07","modified_gmt":"2026-08-07T01:50:07","slug":"ubuntu%e3%81%aekeyring%e3%81%a8%e3%81%af%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/www.marchboy.xyz\/wordpress\/archives\/657","title":{"rendered":"Ubuntu\u306eKeyring\u3068\u306f\uff1f"},"content":{"rendered":"<h2>Ubuntu\u306eKeyring\u3068\u306f<\/h2>\n<p>Ubuntu\uff08\u3084\u4ed6\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\uff09\u3067\u5229\u7528\u3067\u304d\u308b <strong>Keyring<\/strong> \u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3084\u6697\u53f7\u9375\u3001\u8a3c\u660e\u66f8\u3068\u3044\u3063\u305f\u6a5f\u5bc6\u60c5\u5831\u3092\u5b89\u5168\u306b\u4fdd\u5b58\u30fb\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002Keyring\u306fOS\u306b\u7d44\u307f\u8fbc\u307e\u308c\u305f\u6697\u53f7\u5316\u30b9\u30c8\u30ec\u30fc\u30b8\u3068\u3057\u3066\u52d5\u4f5c\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5fc5\u8981\u3068\u3059\u308b\u8a8d\u8a3c\u60c5\u5831\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u7d71\u4e00\u7684\u306b\u63d0\u4f9b\u3057\u307e\u3059\u3002<\/p>\n<h3>\u4e3b\u306a\u7279\u5fb4<\/h3>\n<ul>\n<li><strong>\u7d71\u5408\u7684\u7ba1\u7406<\/strong>\uff1aFirefox\u3001Chromium\u3001SSH\u3001GPG \u306a\u3069\u3001\u69d8\u3005\u306a\u30a2\u30d7\u30ea\u304c\u540c\u3058Keyring\u306b\u683c\u7d0d\u3055\u308c\u305f\u60c5\u5831\u3092\u5229\u7528\u3067\u304d\u308b\u3002<\/li>\n<li><strong>\u81ea\u52d5\u30ed\u30c3\u30af\uff0f\u30a2\u30f3\u30ed\u30c3\u30af<\/strong>\uff1a\u30ed\u30b0\u30a4\u30f3\u6642\u306b\u81ea\u52d5\u3067\u30a2\u30f3\u30ed\u30c3\u30af\u3055\u308c\u3001\u753b\u9762\u30ed\u30c3\u30af\u3084\u4e00\u5b9a\u6642\u9593\u7d4c\u904e\u5f8c\u306b\u81ea\u52d5\u3067\u30ed\u30c3\u30af\u3055\u308c\u308b\u3002<\/li>\n<li><strong>\u6697\u53f7\u5316\u4fdd\u5b58<\/strong>\uff1a\u4fdd\u5b58\u3055\u308c\u305f\u30c7\u30fc\u30bf\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30ed\u30b0\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u6697\u53f7\u5316\u3055\u308c\u3001\u5e73\u6587\u3067\u30c7\u30a3\u30b9\u30af\u306b\u6b8b\u3089\u306a\u3044\u3002<\/li>\n<li><strong>CLI \u3068 GUI \u306e\u4e21\u65b9\u3067\u64cd\u4f5c\u53ef\u80fd<\/strong>\uff1a<code>secret-tool<\/code> \u3084 <code>gnome-keyring<\/code> \u306e\u8a2d\u5b9a\u753b\u9762\u3067\u7ba1\u7406\u3067\u304d\u308b\u3002<\/li>\n<\/ul>\n<h3>\u4ee3\u8868\u7684\u306a\u5b9f\u88c5<\/h3>\n<ul>\n<li><strong>gnome-keyring<\/strong>\uff1aGNOME\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u5b9f\u88c5\u3002\u30c7\u30fc\u30e2\u30f3\u3068\u3057\u3066\u5e38\u99d0\u3057\u3001D-Bus\u7d4c\u7531\u3067\u30a2\u30d7\u30ea\u3068\u9023\u643a\u3002<\/li>\n<li><strong>kwallet<\/strong>\uff1aKDE\u74b0\u5883\u5411\u3051\u306eKeyring\u5b9f\u88c5\u3002gnome-keyring\u3068\u540c\u69d8\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3002<\/li>\n<li><strong>libsecret<\/strong>\uff1aD-Bus\u30d9\u30fc\u30b9\u306eSecret Service API\u3092\u5b9f\u88c5\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u3002gnome-keyring\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u3002<\/li>\n<\/ul>\n<h3>\u3088\u304f\u4f7f\u308f\u308c\u308b\u30b3\u30de\u30f3\u30c9\u4f8b<\/h3>\n<pre><code># \u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4fdd\u5b58\nsecret-tool store --label=\"My SSH Key\" service ssh user myuser\n\n# \u4fdd\u5b58\u3055\u308c\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u53d6\u5f97\nsecret-tool lookup service ssh user myuser\n\n# \u30ad\u30fc\u30ea\u30f3\u30b0\u306e\u5185\u5bb9\u3092\u4e00\u89a7\u8868\u793a\uff08gnome-keyring\u306e\u5834\u5408\uff09\nsecret-tool search --all ''\n<\/code><\/pre>\n<h3>Keyring\u306e\u8a2d\u5b9a\u3068\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/h3>\n<ul>\n<li><strong>\u81ea\u52d5\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a<\/strong>\uff1a<code>gnome-keyring-daemon<\/code> \u306e\u30aa\u30d7\u30b7\u30e7\u30f3 <code>--lock-on-suspend<\/code> \u3084 <code>--timeout<\/code> \u3067\u30ed\u30c3\u30af\u30bf\u30a4\u30df\u30f3\u30b0\u3092\u8abf\u6574\u3002<\/li>\n<li><strong>\u30ed\u30c3\u30af\u89e3\u9664\u306b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u304c\u5fc5\u8981\u306a\u5834\u5408<\/strong>\uff1a\u30ed\u30b0\u30a4\u30f3\u30d1\u30b9\u30ef\u30fc\u30c9\u3068Keyring\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u9055\u3046\u3068\u3001\u30ed\u30b0\u30a4\u30f3\u76f4\u5f8c\u306b\u30d1\u30b9\u30d5\u30ec\u30fc\u30ba\u5165\u529b\u304c\u6c42\u3081\u3089\u308c\u308b\u3002\u8a2d\u5b9a\u753b\u9762\u3067\u540c\u4e00\u306b\u7d71\u4e00\u3067\u304d\u308b\u3002<\/li>\n<li><strong>\u30c7\u30fc\u30e2\u30f3\u304c\u8d77\u52d5\u3057\u306a\u3044<\/strong>\uff1a<code>systemctl --user status gnome-keyring-daemon.service<\/code> \u3067\u72b6\u614b\u3092\u78ba\u8a8d\u3057\u3001\u5fc5\u8981\u306a\u3089\u518d\u8d77\u52d5 <code>systemctl --user restart gnome-keyring-daemon.service<\/code>\u3002<\/li>\n<li><strong>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3068\u5fa9\u5143<\/strong>\uff1aKeyring\u306e\u30c7\u30fc\u30bf\u306f <code>~\/.local\/share\/keyrings\/<\/code> \u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u91cd\u8981\u306a\u60c5\u5831\u306f\u5b9a\u671f\u7684\u306b\u6697\u53f7\u5316\u3057\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u3002<\/li>\n<\/ul>\n<h3>\u307e\u3068\u3081<\/h3>\n<p>Ubuntu\u306eKeyring\u306f\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3084\u79d8\u5bc6\u9375\u3068\u3044\u3063\u305f\u6a5f\u5bc6\u60c5\u5831\u3092\u5b89\u5168\u306b\u7ba1\u7406\u3057\u3001\u30e6\u30fc\u30b6\u30fc\u4f53\u9a13\u3092\u5411\u4e0a\u3055\u305b\u308b\u91cd\u8981\u306a\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u3059\u3002gnome-keyring \u3092\u4e2d\u5fc3\u306b\u3001CLI \u3068 GUI \u306e\u4e21\u65b9\u3067\u67d4\u8edf\u306b\u64cd\u4f5c\u3067\u304d\u308b\u305f\u3081\u3001\u65e5\u5e38\u7684\u306a\u8a8d\u8a3c\u60c5\u5831\u306e\u53d6\u308a\u6271\u3044\u3092\u30b7\u30f3\u30d7\u30eb\u304b\u3064\u5b89\u5168\u306b\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu\u306eKeyring\u3068\u306f Ubuntu\uff08\u3084\u4ed6\u306eLinux\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\uff09\u3067\u5229\u7528\u3067\u304d\u308b Keyring \u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3084\u6697\u53f7\u9375\u3001\u8a3c\u660e\u66f8\u3068\u3044\u3063\u305f\u6a5f\u5bc6\u60c5\u5831\u3092\u5b89\u5168\u306b\u4fdd\u5b58\u30fb\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u4ed5\u7d44\u307f\u3067\u3059\u3002Key [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/comments?post=657"}],"version-history":[{"count":0,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/posts\/657\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/media?parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/categories?post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marchboy.xyz\/wordpress\/wp-json\/wp\/v2\/tags?post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}