Skip to content

Commit

Permalink
default to ecdsa
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslandoga committed Jun 28, 2024
1 parent 931e238 commit 43d2b90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/site_encrypt.ex
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,12 @@ defmodule SiteEncrypt do
],
key_alg: [
type: {:in, [:rsa, :ec]},
default: :rsa,
default: :ec,
doc: """
Specifies the algorithm to be used for the key.
- `:rsa` - Use RSA algorithm for key generation. This is the default option and is widely supported.
- `:ec` - Use ECDSA for key generation. This option provides better performance and security with smaller key sizes compared to RSA.
- `:rsa` - Use RSA algorithm for key generation. This option is widely supported and ensures compatibility with a broad range of clients and servers.
- `:ec` - Use ECDSA for key generation. This option provides better performance and security with smaller key sizes compared to RSA. This is the default option.
"""
],
mode: [
Expand Down

0 comments on commit 43d2b90

Please sign in to comment.