为什么我无法将密钥导入 gnome 密钥环?

为什么我无法将密钥导入 gnome 密钥环?

我正在尝试将私钥 + 证书导入 Ubuntu 14.10 上的 gnome 钥匙圈,但是 seahorse gui 应用程序不允许我这样做,“导入”按钮显示为灰色:

海马导入变灰

如果我从命令行尝试,我会收到以下错误:

$ gnome-keyring import client.crt 
Gnome2 Key Storage: imported certificate: Test-Client
identifier: 1A9D824585217F1BD54603E83F042F570A2EE9F2

(gnome-keyring:12743): Gck-CRITICAL **: gck_list_unref_free: assertion 'G_IS_OBJECT (l->data)' failed

尝试导入私钥给了我类似的结果:

$ gnome-keyring import client.key 
Gnome2 Key Storage: imported private key: unknown
identifier: 1A9D824585217F1BD54603E83F042F570A2EE9F2

(gnome-keyring:13026): Gck-CRITICAL **: gck_list_unref_free: assertion 'G_IS_OBJECT (l->data)' failed

我应该如何将它们导入到我的钥匙圈中?

(请注意,我在这里使用 openvpn 测试密钥只是作为示例)

答案1

后来我发现,尽管存在“Gck-CRITICAL”断言错误,但此命令行命令做过成功导入密钥。

但我仍然不知道为什么海马不允许我导入密钥。

相关内容