Need clarification on recommended Authentication Algorithm

Reply
L1 Bithead

Need clarification on recommended Authentication Algorithm

Quoting from the docs for Define IPSec Crypto Profiles, it says 

For the authentication algorithm, use SHA-256 or higher (SHA-384 or higher preferred for long-lived transactions). Do not use SHA-512, SHA-1, or MD5. 

Whereas, going from most to least secure, it recommends the below order 

Authentication—sha512, sha384, sha256, sha1, md5.

 Can someone please help clarify what is right or wrong ? Thanks!

L4 Transporter

Re: Need clarification on recommended Authentication Algorithm

@devd_25 The second line shows what is supported on the firewall and the first what is recommended to use. 

L4 Transporter

Re: Need clarification on recommended Authentication Algorithm

@devd_25  Anything from SHA256 and above is secure. To use SHA-512 or SHA-384, you need to have compatible servers and are not widely used. Other reasons include processing time.  Following public links can add some more info

https://security.stackexchange.com/questions/165559/why-would-i-choose-sha-256-over-sha-512-for-a-ss...

https://automationrhapsody.com/md5-sha-1-sha-256-sha-512-speed-performance/

~ Sai Srivastava Tumuluri ~
L1 Bithead

Re: Need clarification on recommended Authentication Algorithm

Hi @BatD , thats right. However, if you notice, first it says 

Do not use SHA-512, SHA-1, or MD5. 

 Then, it recommends in the order of most to least secure starting with SHA-512, implying that SHA-512 is most secure. Hence, needed clarification on that. Might be a documentation error.

L4 Transporter

Re: Need clarification on recommended Authentication Algorithm

@devd_25 This is correct, SHA-512 is indeed the most secure, but not recommended for reasons mentioned by @Sai_Tumuluri - processing resources, comapability, etc. 

Highlighted
L4 Transporter

Re: Need clarification on recommended Authentication Algorithm

@devd_25 Please mark if you are satisfied with the solution. This closes the discussion and helps others to fastly identify the solutions

~ Sai Srivastava Tumuluri ~
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!