Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e4c210a

Browse files
gpongelliLee-W
authored andcommitted
setup a gpg key with no passphrase
1 parent cfe9c82 commit e4c210a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎tests/conftest.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ def tmp_commitizen_project_with_gpg(tmp_commitizen_project):
3434
f.write("Name-Comment: with stupid passphrase" + os.linesep)
3535
f.write("Name-Email: joe@foo.bar" + os.linesep)
3636
f.write("Expire-Date: 0" + os.linesep)
37-
f.write("Passphrase: abc" + os.linesep)
3837

39-
cmd.run(f"gpg --batch --generate-key {_gpg_file}")
38+
cmd.run(f"gpg --batch --passphrase '' --pinentry-mode loopback --generate-key {_gpg_file}")
4039

4140
_new_key = cmd.run("gpg --list-secret-keys joe@foo.bar")
4241
_m = re.search(

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /