Skip to content

Commit 9774d79

Browse files
authored
feat!: add deprecating message for the encrypted package (#521)
* 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>
1 parent e2f53d9 commit 9774d79

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

encrypted/encrypted.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
//
44
// It uses scrypt derive a key from the passphrase and the NaCl secret box
55
// cipher for authenticated encryption.
6+
//
7+
// Deprecated: The encrypted package from go-tuf is already moved to
8+
// https://github.com/secure-systems-lab/go-securesystemslib and will be deprecated here.
9+
// Use github.com/secure-systems-lab/go-securesystemslib/encrypted instead.
610
package encrypted
711

812
import (

local_store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import (
1212
"path/filepath"
1313
"strings"
1414

15+
"github.com/secure-systems-lab/go-securesystemslib/encrypted"
1516
"github.com/theupdateframework/go-tuf/data"
16-
"github.com/theupdateframework/go-tuf/encrypted"
1717
"github.com/theupdateframework/go-tuf/internal/fsutil"
1818
"github.com/theupdateframework/go-tuf/internal/sets"
1919
"github.com/theupdateframework/go-tuf/pkg/keys"

repo_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import (
2020
"time"
2121

2222
"github.com/secure-systems-lab/go-securesystemslib/cjson"
23+
"github.com/secure-systems-lab/go-securesystemslib/encrypted"
2324
"github.com/theupdateframework/go-tuf/data"
24-
"github.com/theupdateframework/go-tuf/encrypted"
2525
"github.com/theupdateframework/go-tuf/internal/sets"
2626
"github.com/theupdateframework/go-tuf/pkg/keys"
2727
"github.com/theupdateframework/go-tuf/pkg/targets"

0 commit comments

Comments
 (0)