Skip to content

Commit 08bf3ae

Browse files
gpongelliLee-W
authored andcommitted
use RSA, on macos default fallback to elliptic curve
1 parent c676c98 commit 08bf3ae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/conftest.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ def tmp_commitizen_project_with_gpg(tmp_commitizen_project):
3030
_gpg_file = tmp_commitizen_project.join("gpg_setup")
3131
_signer_mail = "action@github.com"
3232
with open(_gpg_file, "w", newline="") as f:
33-
f.write("Key-Type: default" + os.linesep)
34-
f.write("Subkey-Type: default" + os.linesep)
33+
f.write("Key-Type: RSA" + os.linesep)
34+
f.write("Key-Length: 2048" + os.linesep)
35+
f.write("Subkey-Type: RSA" + os.linesep)
36+
f.write("Subkey-Length: 2048" + os.linesep)
3537
f.write("Name-Real: GitHub Action" + os.linesep)
3638
f.write("Name-Comment: with stupid passphrase" + os.linesep)
3739
f.write(f"Name-Email: {_signer_mail}" + os.linesep)

0 commit comments

Comments
 (0)