Skip to content

Commit

Permalink
Merge pull request #103 from slok/slok/bumv061
Browse files Browse the repository at this point in the history
  • Loading branch information
slok authored Oct 15, 2021
2 parents fcd1801 + 6ee29ca commit 8e88f9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [v0.6.1] - 2021-10-15

### Fixed

- On public and private key discovery, now ignores the sockets so application doesn't fail while trying to read them.
Expand Down Expand Up @@ -85,7 +87,8 @@
- Untracking of files.
- Tracking registry initialization.

[unreleased]: https://github.com/slok/agebox/compare/v0.6.0...HEAD
[unreleased]: https://github.com/slok/agebox/compare/v0.6.1...HEAD
[v0.6.1]: https://github.com/slok/agebox/compare/v0.6.0...v0.6.1
[v0.6.0]: https://github.com/slok/agebox/compare/v0.5.2...v0.6.0
[v0.5.2]: https://github.com/slok/agebox/compare/v0.5.1...v0.5.2
[v0.5.1]: https://github.com/slok/agebox/compare/v0.5.0...v0.5.1
Expand Down
4 changes: 2 additions & 2 deletions internal/storage/fs/key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ func TestListPrivateKeys(t *testing.T) {
mr.On("WalkDir", mock.Anything, "test/keys", mock.Anything).Once().Return(nil).Run(func(args mock.Arguments) {
fn := args.Get(2).(fs.WalkDirFunc)

// Mock 1 public key.
// Mock 1 private key.
_ = fn("test/keys/key1", testFile{
name: "test/keys/key1",
f: &fstest.MapFile{Data: []byte("key1data")},
Expand Down Expand Up @@ -433,7 +433,7 @@ func TestListPrivateKeys(t *testing.T) {
mr.On("WalkDir", mock.Anything, "test/keys", mock.Anything).Once().Return(nil).Run(func(args mock.Arguments) {
fn := args.Get(2).(fs.WalkDirFunc)

// Mock 1 socket and a public key.
// Mock 1 socket and a private key.
_ = fn("test/keys/somesocket", testFile{
name: "test/keys/somesocket",
f: &fstest.MapFile{Mode: fs.ModeSocket},
Expand Down

0 comments on commit 8e88f9a

Please sign in to comment.