Skip to content

Commit

Permalink
feat: bump emulated gpg-agent version to 2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
smlx committed Apr 11, 2022
1 parent ee9b41d commit be59c73
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions internal/assuan/assuan.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ import (
)

// version indicates the version of gpg-agent to emulate.
// If this is lower than the gpg client version gpg will emit a warning.
const version = "2.2.27"
// The gpg CLI client will emit a warning if this is lower than the version of
// the gpg client itself.
const version = "2.3.4"

// The KeyService interface provides functions used by the Assuan FSM.
type KeyService interface {
Expand Down
8 changes: 4 additions & 4 deletions internal/assuan/assuan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func TestSign(t *testing.T) {
"OK\n",
"OK\n",
"OK\n",
"D 2.2.27\n",
"D 2.3.4\n",
"OK\n",
"OK\n",
"OK\n",
Expand Down Expand Up @@ -310,7 +310,7 @@ func TestDecryptRSAKeyfile(t *testing.T) {
"OK\n",
"OK\n",
"OK\n",
"D 2.2.27\n",
"D 2.3.4\n",
"OK\n",
"OK\n",
"OK\n",
Expand Down Expand Up @@ -404,7 +404,7 @@ func TestSignRSAKeyfile(t *testing.T) {
"OK\n",
"OK\n",
"OK\n",
"D 2.2.27\n",
"D 2.3.4\n",
"OK\n",
"OK\n",
"OK\n",
Expand Down Expand Up @@ -596,7 +596,7 @@ func TestDecryptECDHKeyfile(t *testing.T) {
"OK\n",
"OK\n",
"OK\n",
"D 2.2.27\n",
"D 2.3.4\n",
"OK\n",
"OK\n",
"OK\n",
Expand Down

0 comments on commit be59c73

Please sign in to comment.