|
Packit |
1470ea |
|
|
Packit |
1470ea |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" id="tech-secret" xml:lang="ja">
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<info>
|
|
Packit |
1470ea |
<link type="guide" xref="tech" group="secret"/>
|
|
Packit |
1470ea |
<revision pkgversion="3.0" date="2011-04-05" status="candidate"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<credit type="author copyright">
|
|
Packit |
1470ea |
<name>Shaun McCance</name>
|
|
Packit |
1470ea |
<email its:translate="no">shaunm@gnome.org</email>
|
|
Packit |
1470ea |
<years>2011</years>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<include xmlns="http://www.w3.org/2001/XInclude" href="cc-by-sa-3-0.xml"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<desc>Secure storage for passwords and other data</desc>
|
|
Packit |
1470ea |
</info>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<title>Secret</title>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
GNOME uses libsecret as a secure keyring manager, to store users'
|
|
Packit |
1470ea |
passwords and other sensitive data. Applications can use the keyring
|
|
Packit |
1470ea |
manager library to store and access passwords, and users can manage
|
|
Packit |
1470ea |
their passwords using GNOME's <app>Seahorse</app>
|
|
Packit |
1470ea |
application.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
キーリング・マネージャーはアイテムをいくつか含むことができる任意の個数のキーリングを提供します。キーリングのアイテムにはデータやパスワードが保存されます。それぞれのキーリングは個別にロックされ、ユーザーはロックを解除するためのパスワードを提供しなければなりません。キーリングのロックを解除すると、ユーザーはキーリングに含まれるすべてのアイテムにアクセスできます。
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
キーリング・マネージャーは、キーリングのアイテムにたいするアクセス制御リストを提供し、そのアイテムによりアクセスが許可されるアプリケーションを制御します。もし未知のアプリケーションがキーリングのアイテムにアクセスしようとした場合、キーリング・マネージャーはユーザーにプロンプトを表示してそのアプリケーションのアクセスを許可するか、拒否するかを尋ねます。これにより悪意のあるプログラムや質の悪いプログラムがユーザーの機密データにアクセスすることを防ぐことができます。
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
ファイルシステムに保存されたキーリングのデータは AES ブロック暗号化方式で暗号化されアイテムの属性にはハッシュ関数には SHA1 が使用されます。属性のハッシュを使用することにより、キーリング・マネージャーはキーリングのロックを解除することなくアプリケーションに要求されたアイテムを見つけることができます。キーリングはアイテムが見つかったときにロックが解除され、アイテムにアクセスすることができるようになります。
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
キーリング・マネージャーはセッションのためのキーリングも提供します。セッション・キーリングのアイテムはディスクには決して保存されず、ユーザーがセッションを終了すると失われます。セッション・キーリングは現在のセッションだけで使用するパスワードに使用されます。
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
If you use <link xref="tech-gio">GIO</link> to access remote servers, you
|
|
Packit |
1470ea |
automatically get the benefits of the keyring manager. Whenever GIO needs to
|
|
Packit |
1470ea |
authenticate the user, it provides the option to store the password, either
|
|
Packit |
1470ea |
in the default keyring or in the session keyring.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
You should use libsecret's keyring manager whenever your application needs
|
|
Packit |
1470ea |
to store passwords or other sensitive data for users. Using the keyring
|
|
Packit |
1470ea |
manager provides a better user experience while still keeping user data
|
|
Packit |
1470ea |
safe and secure.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<note>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
GNOME used a library called gnome-keyring before version 3.6 was
|
|
Packit |
1470ea |
released. In version 3.6 onward, libsecret is used instead. This allows
|
|
Packit |
1470ea |
sharing the keyring service between GNOME and other desktop environments
|
|
Packit |
1470ea |
and applications.
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</note>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<list style="compact">
|
|
Packit |
1470ea |
<item><link href="http://developer.gnome.org/libsecret/unstable/">Libsecret Reference Manual</link> </item>
|
|
Packit |
1470ea |
</list>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</page>
|