Merge "Crypto: gracefully handle unavailable data"
[trojita.git] / tests / Cryptography / batch-keygen
blob750eaead6c6d16868312bd7f630e9aa596ffcba4
1 # Copyright (C) 2015 Stephan Platz <trojita@paalsteek.de>
3 # This file is part of the Trojita Qt IMAP e-mail client,
4 # http://trojita.flaska.net/
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License as
8 # published by the Free Software Foundation; either version 2 of
9 # the License or (at your option) version 3 or any later version
10 # accepted by the membership of KDE e.V. (or its successor approved
11 # by the membership of KDE e.V.), which shall act as a proxy
12 # defined in Section 14 of version 3 of the license.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
22 # We only use this key for testing, so not cryptographic strength required
23 %transient-key
24 %no-protection
26 %echo Generating key for valid encryptions and signatures
27 Key-Type: default
28 Subkey-Type: default
29 Key-Length: 1024
30 Subkey-Length: 1024
31 Name-Real: Valid
32 Name-Email: valid@test.trojita.flaska.net
33 Expire-Date: 0
35 %commit
36 %echo Generating key for expired encryptions and signatures
37 Key-Type: default
38 Subkey-Type: default
39 Key-Length: 1024
40 Subkey-Length: 1024
41 Name-Real: Expired
42 Name-Email: expired@test.trojita.flaska.net
43 # The key has to be valid until we generated the required messages
44 Expire-Date: 0
46 %commit
47 %echo Generating key that will be deleted after message generation
48 Key-Type: default
49 Subkey-Type: default
50 Key-Length: 1024
51 Subkey-Length: 1024
52 Name-Real: Unknown
53 Name-Email: unknown@test.trojita.flaska.net
54 Expire-Date: 0
56 %commit
57 %echo Generating a key which will be used for signature verification, where the private key will be removed
58 Key-Type: default
59 Subkey-Type: default
60 Key-Length: 1024
61 Subkey-Length: 1024
62 Name-Real: Some Signer
63 Name-Email: some.signer@example.org
64 Expire-Date: 0
66 %commit
67 %echo Keys generated