Debian Codegraph @

age/internal/tests/scrypt_extra_argument.go

raw symbols SCIP
1 // Copyright 2022 The age Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 //go:build ignore
6 // +build ignore
7
8 package main
9
10 import "c2sp.org/CCTV/age/internal/testkit"
11
12 func main() {
13 f := testkit.NewTestFile()
14 f.VersionLine("v1")
15 f.Scrypt("password", 10)
16 body, args := f.UnreadLine(), f.UnreadLine()
17 f.TextLine(args + " 10")
18 f.TextLine(body)
19 f.HMAC()
20 f.Payload("age")
21 f.ExpectHeaderFailure()
22 f.Comment("the base64 encoding of the share is not canonical")
23 f.Generate()
24 }