「Himitsu」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(英語版より新規作成)
 
 
(同じ利用者による、間の4版が非表示)
1行目: 1行目:
 
[[Category:セキュリティ]]
 
[[Category:セキュリティ]]
[https://himitsustore.org/ Himitsu] is a secure secret storage system for Unix-like systems.
+
[https://himitsustore.org/ Himitsu] は、Unix 系システム向けのセキュアな秘密情報保存システムです。
  +
拡張可能であり、パスワード、プライベートキー、ログイン情報などの保存に適しています。
It is extensible and suitable for storing passwords, private keys, logins, etc.
 
   
  +
Himitsu の秘密情報は任意のキー/バリューストアに保存され、[[デーモン]]経由でアクセス可能です。
Himitsu secrets are stored in a arbitrary key/value store, accessible via a [[daemon]].
 
  +
また、Himitsu はそのストアのためのコマンドラインインターフェースとクエリ言語も提供します。
Himitsu also provides a command-line interface and query language for the store.
 
   
== Installation ==
+
== インストール ==
   
  +
{{AUR|himitsu}} パッケージを[[インストール]]します。
[[Install]] the {{AUR|himitsu}} package.
 
   
You will also need a Himitsu prompter: {{AUR|hiprompt-gtk-py}}.
+
また、Himitsu のプロンプタも必要です:{{AUR|hiprompt-gtk-py}}
   
== Configuration ==
+
== 設定 ==
   
The {{man|7|himitsu|url=https://himitsustore.org/docs/himitsu.7.html}} man page is worth reading.
+
{{man|7|himitsu|url=https://himitsustore.org/docs/himitsu.7.html}} man ページは読む価値があります。
  +
以下は、{{AUR|himitsu}} の Arch Linux へのインストールに特化したガイドです。
The following is a guide specific to an Arch Linux installation of {{AUR|himitsu}}.
 
   
  +
まず、Himitsu の secstore(秘密情報ストア)と基本的な設定が必要です。
Firstly, you will need a himitsu secstore (secrets store) and some basic configuration.
 
Initialize these with {{man|1|himitsu-init|url=https://himitsustore.org/docs/himitsu-init.1.html}}.
+
これらを {{man|1|himitsu-init|url=https://himitsustore.org/docs/himitsu-init.1.html}} で初期化します。
   
 
$ himitsu-init
 
$ himitsu-init
   
  +
次に、選択したプロンプタを Himitsu で使用するように設定する必要があります。
You will then need to configure Himitsu to use your prompter of choice.
 
Edit the {{man|5|himitsu.ini|url=https://himitsustore.org/docs/himitsu.ini.5.html}} config file. For example, for
+
{{man|5|himitsu.ini|url=https://himitsustore.org/docs/himitsu.ini.5.html}} 設定ファイルを編集します。例えば、
{{AUR|hiprompt-gtk-py}}:
+
{{AUR|hiprompt-gtk-py}} の場合:
   
 
{{hc|~/.config/himitsu/config.ini|<nowiki>
 
{{hc|~/.config/himitsu/config.ini|<nowiki>
31行目: 31行目:
 
</nowiki>}}
 
</nowiki>}}
   
The Himitsu [[daemon]] {{man|1|himitsud|url=https://himitsustore.org/docs/himitsud.1.html}} can now be run.
+
Himitsu [[デーモン]]{{man|1|himitsud|url=https://himitsustore.org/docs/himitsud.1.html}} を実行することができます。
The Himitsu package comes with a systemd [[user unit]], {{ic|himitsud.service}}.
+
Himitsu パッケージには、systemd [[ユーザーユニット]]{{ic|himitsud.service}} が付属しています。
[[Starting/enabling]] it runs {{ic|himitsud}} in the background.
+
これを [[起動/有効化]]すると {{ic|himitsud}} がバックグラウンドで実行されます。
   
== Usage ==
+
== 使用法 ==
   
Use the {{man|1|hiq|url=https://himitsustore.org/docs/hiq.1.html}} command to query and manage the keystore.
+
{{man|1|hiq|url=https://himitsustore.org/docs/hiq.1.html}} コマンドを使用して、キーストアをクエリし、管理します。
   
== Integrations ==
+
== 統合 ==
   
  +
Himitsu はさまざまなソフトウェアと統合しています。
Himitsu has integrations for various software.
 
   
 
=== SSH ===
 
=== SSH ===
   
The {{AUR|himitsu-ssh}} package provides an [[SSH agent]] and utilities for using and storing [[SSH keys]] in the Himitsu keystore.
+
{{AUR|himitsu-ssh}} パッケージは、[[SSH エージェント]] Himitsu のキーストア内で [[SSH ]] を使用、保存するためのユーティリティを提供します。
   
  +
''ssh'' が Himitsu SSH エージェントを使用するためには、以下が必要です:
For ''ssh'' to use the Himitsu SSH agent, it is required that:
 
   
* The agent is running ([[enable/start]] the included {{ic|hissh-agent.service}} [[user unit]]).
+
* エージェントが稼働していること(付属の {{ic|hissh-agent.service}} [[ユーザーユニット]]を [[開始/有効化]])。
* The {{ic|$SSH_AUTH_SOCK}} [[environment variable]] is set to the Himitsu SSH agent's socket (i.e. {{ic|$XDG_RUNTIME_DIR/hissh-agent}}).
+
* {{ic|$SSH_AUTH_SOCK}} [[環境変数]] Himitsu SSH エージェントのソケットに設定されていること(すなわち、{{ic|$XDG_RUNTIME_DIR/hissh-agent}})。
   
See {{man|1|hissh-agent|url=}}.
+
{{man|1|hissh-agent|url=}} を参照してください。
   
  +
これにより、''ssh'' は SSH キーのデータについて Himitsu のキーストアを参照します。
With that, ''ssh'' will consult the Himitsu keystore for SSH key data.
 
   
 
=== Firefox ===
 
=== Firefox ===
   
The {{AUR|himitsu-firefox}} package provides the backend (a native messaging component) for the official [https://addons.mozilla.org/firefox/addon/himitsu-integration/ Firefox Himitsu Add-on].
+
{{AUR|himitsu-firefox}} パッケージは、公式の [https://addons.mozilla.org/firefox/addon/himitsu-integration/ Firefox Himitsu Add-on] のバックエンド(ネイティブメッセージングコンポーネント)を提供します。
  +
両方がインストールされていれば、Firefox はログイン情報/パスワードについて、{{ic|1=proto=web}} キーバリューペアを持つキーストアエントリから Himitsu のキーストアを参照できます。
Once both installed, Firefox can consult the Himitsu keystore for logins/passwords, from keystore entries with the {{ic|1=proto=web}} key-value pair.
 
  +
このアドオンは "web" プロトコルを実装しています。
The add-on implements the "web" protocol.
 

2023年5月25日 (木) 14:05時点における最新版

Himitsu は、Unix 系システム向けのセキュアな秘密情報保存システムです。 拡張可能であり、パスワード、プライベートキー、ログイン情報などの保存に適しています。

Himitsu の秘密情報は任意のキー/バリューストアに保存され、デーモン経由でアクセス可能です。 また、Himitsu はそのストアのためのコマンドラインインターフェースとクエリ言語も提供します。

インストール

himitsuAUR パッケージをインストールします。

また、Himitsu のプロンプタも必要です:hiprompt-gtk-pyAUR

設定

himitsu(7) の man ページは読む価値があります。 以下は、himitsuAUR の Arch Linux へのインストールに特化したガイドです。

まず、Himitsu の secstore(秘密情報ストア)と基本的な設定が必要です。 これらを himitsu-init(1) で初期化します。

$ himitsu-init

次に、選択したプロンプタを Himitsu で使用するように設定する必要があります。 himitsu.ini(5) 設定ファイルを編集します。例えば、 hiprompt-gtk-pyAUR の場合:

~/.config/himitsu/config.ini
[himitsud]
prompter=hiprompt-gtk

Himitsu の デーモンhimitsud(1) を実行することができます。 Himitsu パッケージには、systemd のユーザーユニットhimitsud.service が付属しています。 これを 起動/有効化すると himitsud がバックグラウンドで実行されます。

使用法

hiq(1) コマンドを使用して、キーストアをクエリし、管理します。

統合

Himitsu はさまざまなソフトウェアと統合しています。

SSH

himitsu-sshAUR パッケージは、SSH エージェント と Himitsu のキーストア内で SSH 鍵 を使用、保存するためのユーティリティを提供します。

ssh が Himitsu SSH エージェントを使用するためには、以下が必要です:

  • エージェントが稼働していること(付属の hissh-agent.service ユーザーユニット開始/有効化)。
  • $SSH_AUTH_SOCK 環境変数が Himitsu SSH エージェントのソケットに設定されていること(すなわち、$XDG_RUNTIME_DIR/hissh-agent)。

hissh-agent(1) を参照してください。

これにより、ssh は SSH キーのデータについて Himitsu のキーストアを参照します。

Firefox

himitsu-firefoxAUR パッケージは、公式の Firefox Himitsu Add-on のバックエンド(ネイティブメッセージングコンポーネント)を提供します。 両方がインストールされていれば、Firefox はログイン情報/パスワードについて、proto=web キーバリューペアを持つキーストアエントリから Himitsu のキーストアを参照できます。 このアドオンは "web" プロトコルを実装しています。