Skip to content

Commit

Permalink
Adding support for ecdsa ssh key types, take 11
Browse files Browse the repository at this point in the history
  • Loading branch information
cdchris12 committed Apr 4, 2022
1 parent cef1aac commit 64da3ec
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
14 changes: 7 additions & 7 deletions internal/schema/testdata/ciBranchPicky.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,20 @@ projects:
- email: ci-customer-user-rsa@example.com
role: MAINTAINER
users:
- email: ci-customer-user-ed25519@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ssh-ed25519
keyValue: AAAAC3NzaC1lZDI1NTE5AAAAIMdEs1h19jv2UrbtKcqPDatUxT9lPYcbGlEAbInsY8Ka
name: ci-customer-sshkey-ed25519
- email: ci-customer-user-ecdsa521@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ecdsa-sha2-nistp521
keyValue: AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFAX0rkOBwlrXr2rJNxYVi0fRj8IiHBaFCsAM0zO+o2fh+h4EuL1Mx4F237SX5G0zuL8R6Sbf9LrY2lhKZdDpiFdgF7pP1TZ8RuDvKgasppGDEzAIm9+7bmHR118CejWF7llgHD3oz+/aRHTZVpOOaCyTGkF2oPeUejrI74KoPHk3HHpQ==
name: ci-customer-sshkey-ecdsa-nistp521
- email: ci-customer-user-ed25519@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ssh-ed25519
keyValue: AAAAC3NzaC1lZDI1NTE5AAAAIMdEs1h19jv2UrbtKcqPDatUxT9lPYcbGlEAbInsY8Ka
name: ci-customer-sshkey-ed25519
- email: ci-customer-user-rsa@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
Expand Down
7 changes: 7 additions & 0 deletions internal/schema/testdata/newNotifications.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ projects:
- email: ci-customer-user-rsa@example.com
role: MAINTAINER
users:
- email: ci-customer-user-ecdsa521@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ecdsa-sha2-nistp521
keyValue: AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFAX0rkOBwlrXr2rJNxYVi0fRj8IiHBaFCsAM0zO+o2fh+h4EuL1Mx4F237SX5G0zuL8R6Sbf9LrY2lhKZdDpiFdgF7pP1TZ8RuDvKgasppGDEzAIm9+7bmHR118CejWF7llgHD3oz+/aRHTZVpOOaCyTGkF2oPeUejrI74KoPHk3HHpQ==
name: ci-customer-sshkey-ecdsa-nistp521
- email: ci-customer-user-ed25519@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
Expand Down
14 changes: 7 additions & 7 deletions internal/schema/testdata/noNewNotifications.golden.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ projects:
- email: ci-customer-user-rsa@example.com
role: MAINTAINER
users:
- email: ci-customer-user-ed25519@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ssh-ed25519
keyValue: AAAAC3NzaC1lZDI1NTE5AAAAIMdEs1h19jv2UrbtKcqPDatUxT9lPYcbGlEAbInsY8Ka
name: ci-customer-sshkey-ed25519
- email: ci-customer-user-ecdsa521@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ecdsa-sha2-nistp521
keyValue: AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBAFAX0rkOBwlrXr2rJNxYVi0fRj8IiHBaFCsAM0zO+o2fh+h4EuL1Mx4F237SX5G0zuL8R6Sbf9LrY2lhKZdDpiFdgF7pP1TZ8RuDvKgasppGDEzAIm9+7bmHR118CejWF7llgHD3oz+/aRHTZVpOOaCyTGkF2oPeUejrI74KoPHk3HHpQ==
name: ci-customer-sshkey-ecdsa-nistp521
- email: ci-customer-user-ed25519@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
keyFingerprint: ""
keyType: ssh-ed25519
keyValue: AAAAC3NzaC1lZDI1NTE5AAAAIMdEs1h19jv2UrbtKcqPDatUxT9lPYcbGlEAbInsY8Ka
name: ci-customer-sshkey-ed25519
- email: ci-customer-user-rsa@example.com
sshKeys:
- created: "2020-02-11 09:00:42"
Expand Down

0 comments on commit 64da3ec

Please sign in to comment.