Commit 187711c1 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Remove test against DSA ssh keys because

we're not really supporting them out of the box. See:
https://gitlab.com/gitlab-org/gitlab-ce/issues/44363
parent b1625d39
......@@ -17,7 +17,6 @@ module QA
module Key
autoload :Base, 'qa/runtime/key/base'
autoload :RSA, 'qa/runtime/key/rsa'
autoload :DSA, 'qa/runtime/key/dsa'
autoload :ECDSA, 'qa/runtime/key/ecdsa'
autoload :ED25519, 'qa/runtime/key/ed25519'
end
......
module QA
module Runtime
module Key
class DSA < Base
def initialize
super('dsa', 1024)
end
end
end
end
end
......@@ -18,7 +18,6 @@ module QA
Runtime::Key::RSA.new(2048),
Runtime::Key::RSA.new(4096),
Runtime::Key::RSA.new(8192),
Runtime::Key::DSA.new,
Runtime::Key::ECDSA.new(256),
Runtime::Key::ECDSA.new(384),
Runtime::Key::ECDSA.new(521),
......
describe QA::Runtime::Key::DSA do
describe '#public_key' do
subject { described_class.new.public_key }
it 'generates a public DSA key' do
expect(subject).to match(%r{\Assh\-dss AAAA[0-9A-Za-z+/]+={0,3}})
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment