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
    zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:00:41 JST zhenech zhenech

    Today in FUCKING FIPS LAND:

    $ ssh-keyscan ippai.die-welt.net
    # ippai.die-welt.net:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u5
    kex_gen_client: Key exchange type c25519 is not allowed in FIPS mode
    # ippai.die-welt.net:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u5
    kex_gen_client: Key exchange type c25519 is not allowed in FIPS mode
    # ippai.die-welt.net:22 SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u5
    kex_gen_client: Key exchange type c25519 is not allowed in FIPS mode

    In conversation about a month ago from chaos.social permalink

    Attachments



    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Friday, 25-Apr-2025 22:00:32 JST silverwizard silverwizard
      in reply to
      • Clemens

      @zhenech @neverpanic if you -vvv can you see the kex happen and fail but the wrapper still says (private key) since it just got that path and failed?

      However, this needs updates! FIPS approved 25519 two years ago (which I know is 10 years in the future in FIPS time)

      In conversation about a month ago permalink
    • Embed this notice
      zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:00:33 JST zhenech zhenech
      in reply to
      • Clemens

      @neverpanic But why does `ssh` manage to work, while `ssh-keyscan` does not?

      When I do `ssh -v ippai.die-welt.net` from an EL9-FIPS box, I see
      ```
      debug1: kex: algorithm: ecdh-sha2-nistp256
      debug1: kex: host key algorithm: ecdsa-sha2-nistp256
      ```

      While in `ssh-keyscan -v` I only see c25519, and that's forbidden.

      In conversation about a month ago permalink

      Attachments


    • Embed this notice
      Clemens (neverpanic@chaos.social)'s status on Friday, 25-Apr-2025 22:00:35 JST Clemens Clemens
      in reply to

      @zhenech Seems pretty clear to me: You can't KEX with x25519. You can KEX with ECDH over secp256r1. The host key is ECDSA using secp256r1.

      x25519 kex isn't allowed in FIPS. ECDH over secp256r1 is. Host key signatures using secp256r1 are also OK, signatures using ed25519 only recently and your implementation may not have caught up with that yet.

      In conversation about a month ago permalink
    • Embed this notice
      zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:00:37 JST zhenech zhenech
      in reply to

      WHAT IS IT NOW?!

      CAN YOU KEX OR CAN YOU NOT KEX?!

      THIS IS THE FUCKING QUESTION HERE!

      In conversation about a month ago permalink
    • Embed this notice
      zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:00:38 JST zhenech zhenech
      in reply to

      $ cat .ssh/known_hosts
      ippai.die-welt.net ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBIBUsKAIaR020Tom56jb/4RSSNTEeH+lKZowCE3r0kjvcONHTv99RimO1V7ke+JAHVBLlHM3R1PjwHfOmzf9CP4=

      In conversation about a month ago permalink

      Attachments


    • Embed this notice
      zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:00:40 JST zhenech zhenech
      in reply to

      $ ssh ippai.die-welt.net
      The authenticity of host 'ippai.die-welt.net (188.68.51.252)' can't be established.
      ECDSA key fingerprint is SHA256:V0iohQpWv4KNHI1TXMy/RPcMSc6m0P3id7LpQKLvm9o.
      This key is not known by any other names
      Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
      Warning: Permanently added 'ippai.die-welt.net' (ECDSA) to the list of known hosts.
      user@ippai.die-welt.net: Permission denied (publickey).

      In conversation about a month ago permalink

      Attachments



    • Embed this notice
      silverwizard (silverwizard@convenient.email)'s status on Friday, 25-Apr-2025 22:15:27 JST silverwizard silverwizard
      in reply to
      • Clemens
      @zhenech @neverpanic wait - it's just reading it as ECDSA! What?
      In conversation about a month ago permalink
    • Embed this notice
      zhenech (zhenech@chaos.social)'s status on Friday, 25-Apr-2025 22:15:29 JST zhenech zhenech
      in reply to
      • silverwizard
      • Clemens

      @silverwizard @neverpanic https://paste.debian.net/hidden/6706dce1/ looks like yes? Also, if I deploy a key, it allows me to log in :)

      In conversation about a month ago permalink

      Attachments

      1. No result found on File_thumbnail lookup.
        Debian Pastezone

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.