GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Light (light@noc.social)'s status on Friday, 16-May-2025 00:43:03 JST Light Light

    @Mik3y
    Yeah:
    ```
    [START] Importing key
    [ERROR] Keyring has no valid user IDs!
    [ERROR] Import operation failed!
    ```

    In conversation about 18 days ago from noc.social permalink
    • Embed this notice
      cy (cy@fedicy.us.to)'s status on Friday, 16-May-2025 00:42:50 JST cy cy
      in reply to
      Ugh, I ran into this before... GnuPG also doesn't allow keys with no user id, for NO reason. Fortunately, there's a hack to get around it by forging one, but good god is it a hack.
      $ gpg --import /tmp/mik3y.pgp
      gpg: key 1EF75E811EA23E25: no user ID
      gpg: Total number processed: 1
      $ echo fuck
      fuck
      $ gpg -o /tmp/mik3y.binary.pgp --dearmor /tmp/mik3y.pgp
      $ echo -ne '\xb4\x0bmik3y m0u5e' >> /tmp/mik3y.binary.pgp
      $ gpg --allow-non-selfsigned-uid --import /tmp/mik3y.binary.pgp
      gpg: key 1EF75E811EA23E25: accepted non self-signed user ID "mik3y m0u5e"
      gpg: key 1EF75E811EA23E25: public key "[User ID not found]" imported
      gpg: Total number processed: 1
      gpg: imported: 1
      $ gpg --list-keys 1EF75E811EA23E25
      pub rsa4096 2025-02-27 [SCEA]
      86BC532150B7185CEB311B991EF75E811EA23E25
      sub rsa4096 2025-02-27 [SEA]
      uid [marginal] mik3y m0u5e
      CC: @Mik3y@kolektiva.social
      In conversation about 18 days ago permalink
    • Embed this notice
      cy (cy@fedicy.us.to)'s status on Friday, 16-May-2025 00:48:13 JST cy cy
      in reply to
      • cy
      (it's the byte b4, the length of the uid string in 1 byte, then the uid)

      gpg --list-packets something will show the b4 as ctb=b4 like:
      # off=1654 ctb=b4 tag=13 hlen=2 plen=2
      :user ID packet: "Cy"
      or uh...
      $ echo -ne '\xb4\x0bmik3y m0u5e' | gpg --list-packets
      # off=0 ctb=b4 tag=13 hlen=2 plen=11
      :user ID packet: "mik3y m0u5e"
      CC: @light@noc.social @Mik3y@kolektiva.social
      In conversation about 18 days ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.