Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Auth digest algorithm doesn't matter

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 514 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      coreybrett
      last edited by

      My TLS /30 Peer to Peer tunnel is able to connect with different Auth options on each end.
      BLAKE2s256 on one end and SHAKE256 on the other.

      If I look at the client end log, I see...

      May 30 15:36:26	openvpn	84533	Incoming dynamic tls-crypt: Using 256 bit message hash 'SHA256' for HMAC authentication
      May 30 15:36:26	openvpn	84533	Incoming dynamic tls-crypt: Cipher 'AES-256-CTR' initialized with 256 bit key
      May 30 15:36:26	openvpn	84533	Outgoing dynamic tls-crypt: Using 256 bit message hash 'SHA256' for HMAC authentication
      May 30 15:36:26	openvpn	84533	Outgoing dynamic tls-crypt: Cipher 'AES-256-CTR' initialized with 256 bit key
      ...
      May 30 15:36:24	openvpn	84390	authname = 'SHAKE256'
      May 30 15:36:24	openvpn	84390	ncp_ciphers = 'AES-128-GCM:AES-128-CBC'
      May 30 15:36:24	openvpn	84390	ciphername = 'AES-128-CBC'
      May 30 15:36:24	openvpn	84390	key_direction = not set
      

      Is that normal ?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan @coreybrett
        last edited by

        @coreybrett

        What pfSEnse version ?
        AFAIK, 'AES-128-CBC' has been said good bye a long time ago ...

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • C
          coreybrett
          last edited by coreybrett

          Did a little more research.
          tls-auth will use the auth algorithm so both sides need to match.
          tls-crypt is hard coded to use AES-256-CTR/SHA256 and the auth algorithm is not used

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.