Skip to content

Commit

Permalink
feat!: add deprecating message for the encrypted package (#521)
Browse files Browse the repository at this point in the history
* feat!: add deprecating message for the encrypted package

Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>

* chore: switch to using go-sslib/encrypted package

Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>

---------

Signed-off-by: Radoslav Dimitrov <dimitrovr@vmware.com>
  • Loading branch information
rdimitrov authored Jul 19, 2023
1 parent e2f53d9 commit 9774d79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions encrypted/encrypted.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
//
// It uses scrypt derive a key from the passphrase and the NaCl secret box
// cipher for authenticated encryption.
//
// Deprecated: The encrypted package from go-tuf is already moved to
// https://github.com/secure-systems-lab/go-securesystemslib and will be deprecated here.
// Use github.com/secure-systems-lab/go-securesystemslib/encrypted instead.
package encrypted

import (
Expand Down
2 changes: 1 addition & 1 deletion local_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
"path/filepath"
"strings"

"github.com/secure-systems-lab/go-securesystemslib/encrypted"
"github.com/theupdateframework/go-tuf/data"
"github.com/theupdateframework/go-tuf/encrypted"
"github.com/theupdateframework/go-tuf/internal/fsutil"
"github.com/theupdateframework/go-tuf/internal/sets"
"github.com/theupdateframework/go-tuf/pkg/keys"
Expand Down
2 changes: 1 addition & 1 deletion repo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"time"

"github.com/secure-systems-lab/go-securesystemslib/cjson"
"github.com/secure-systems-lab/go-securesystemslib/encrypted"
"github.com/theupdateframework/go-tuf/data"
"github.com/theupdateframework/go-tuf/encrypted"
"github.com/theupdateframework/go-tuf/internal/sets"
"github.com/theupdateframework/go-tuf/pkg/keys"
"github.com/theupdateframework/go-tuf/pkg/targets"
Expand Down

0 comments on commit 9774d79

Please sign in to comment.