Can't import RSA 2048 pem certificate
- Dist: Archlinux
- gcr: 3.41.1-4
Issuing: gcr-viewer key.pem
show the certificate's fingerprint but "import" button is grayed out.
❯ G_MESSAGES_DEBUG='all' gcr-viewer key.pem
(gcr-viewer:790818): GLib-GIO-DEBUG: 23:42:22.256: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
(gcr-viewer:790818): GLib-GIO-DEBUG: 23:42:22.257: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/interface/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/peripherals/mouse/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/sound/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/privacy/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/wm/preferences/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/a11y/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.257: watch_fast: "/org/gnome/desktop/a11y/interface/" (establishing: 0, active: 0)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/interface/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/peripherals/mouse/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/sound/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/privacy/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/wm/preferences/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/settings-daemon/plugins/xsettings/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/a11y/" (establishing: 1)
(gcr-viewer:790818): dconf-DEBUG: 23:42:22.258: watch_established: "/org/gnome/desktop/a11y/interface/" (establishing: 1)
(gcr-viewer:790818): GLib-DEBUG: 23:42:22.373: unsetenv() is not thread-safe and should not be used after threads are created
(gcr-viewer:790818): GLib-GIO-DEBUG: 23:42:22.381: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.420: starting initialize of registered modules
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.478: completed initialize of registered modules
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.484: initialized library
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: initialized library
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: initialized library
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: looking for importer for: (9) [ { CKA_CLASS = CKO_PRIVATE_KEY }, { CKA_KEY_TYPE = CKK_RSA }, { CKA_PRIVATE = (1) "\x01" }, { CKA_MODULUS = (256) NOT-PRINTED }, { CKA_PUBLIC_EXPONENT = (3) NOT-PRINTED }, { CKA_PRIVATE_EXPONENT = (256) NOT-PRINTED }, { CKA_PRIME_1 = (128) NOT-PRINTED }, { CKA_PRIME_2 = (128) NOT-PRINTED }, { CKA_COEFFICIENT = (128) NOT-PRINTED } ]
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: importer GcrPkcs11Importer didn't match: (2) [ { CKA_CLASS = CKO_CERTIFICATE }, { CKA_CERTIFICATE_TYPE = CKC_X_509 } ]
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: importer GcrPkcs11Importer matched: (1) [ { CKA_CLASS = CKO_PRIVATE_KEY } ]
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: token is not importable: System Trust: write protected
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: token is not importable: Default Trust: write protected
(gcr-viewer:790818): Gcr-DEBUG: 23:42:22.486: importer GcrGnupgImporter didn't match: (1) [ { CKA_CLASS = 0xC7435200 } ]