Add suite for file signing
This commit is contained in:
parent
0bb5f33c4a
commit
9f017c0f9e
1 changed files with 11 additions and 0 deletions
11
suites.go
11
suites.go
|
@ -39,6 +39,15 @@ var (
|
|||
SecurityLevel: 128,
|
||||
Status: SuiteStatusRecommended,
|
||||
})
|
||||
// SuiteSignFileV1 is a cipher suite for signing files (no encryption).
|
||||
// SHA2_256 is chosen for better compatibility with other tool sets and workflows.
|
||||
SuiteSignFileV1 = registerSuite(&Suite{
|
||||
ID: "signfile_v1",
|
||||
Tools: []string{"Ed25519(SHA2-256)"},
|
||||
Provides: newEmptyRequirements().Add(Integrity).Add(SenderAuthentication),
|
||||
SecurityLevel: 128,
|
||||
Status: SuiteStatusRecommended,
|
||||
})
|
||||
// SuiteCompleteV1 is a cipher suite for both encrypting for someone and signing.
|
||||
SuiteCompleteV1 = registerSuite(&Suite{
|
||||
ID: "v1",
|
||||
|
@ -66,6 +75,8 @@ var (
|
|||
SuiteRcptOnly = SuiteRcptOnlyV1
|
||||
// SuiteSign is a a cipher suite for signing (no encryption).
|
||||
SuiteSign = SuiteSignV1
|
||||
// SuiteSignFile is a a cipher suite for signing files (no encryption).
|
||||
SuiteSignFile = SuiteSignFileV1
|
||||
// SuiteComplete is a a cipher suite for both encrypting for someone and signing.
|
||||
SuiteComplete = SuiteCompleteV1
|
||||
// SuiteWire is a a cipher suite for network communication, including authentication of the server, but not the client.
|
||||
|
|
Loading…
Add table
Reference in a new issue