Skip to content

Commit 6ab55d0

Browse files
traylenatorjcouball
authored andcommitted
test: avoid deprecated dsa for tests keys
``` ssh-keygen -t dsa unknown key type dsa ``` with OpenSSH_9.9p1
1 parent b7da131 commit 6ab55d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/units/test_signed_commits.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def in_repo_with_signing_config(&block)
1414
in_temp_dir do |path|
1515
`git init`
1616
ssh_key_file = File.expand_path(File.join('.git', 'test-key'))
17-
`ssh-keygen -t dsa -N "" -C "test key" -f "#{ssh_key_file}"`
17+
`ssh-keygen -t ed25519 -N "" -C "test key" -f "#{ssh_key_file}"`
1818
`git config --local gpg.format ssh`
1919
`git config --local user.signingkey #{ssh_key_file}.pub`
2020

0 commit comments

Comments
 (0)