comparison common/pubkey-test.h @ 758:f56c4869aa18

Switch to 3072 bit RSA keys for codesigning as specified.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 07 Jul 2014 18:34:55 +0200
parents facb13c578f1
children 7861950f7637
comparison
equal deleted inserted replaced
757:9bfaced5cf59 758:f56c4869aa18
25 static const size_t public_key_pem_size = 625; 25 static const size_t public_key_pem_size = 625;
26 26
27 /* Key used for codesigning */ 27 /* Key used for codesigning */
28 static const unsigned char public_key_codesign_pem[] = 28 static const unsigned char public_key_codesign_pem[] =
29 "-----BEGIN CERTIFICATE-----\n" 29 "-----BEGIN CERTIFICATE-----\n"
30 "MIIFqTCCA5GgAwIBAgIBATANBgkqhkiG9w0BAQUFADBZMSAwHgYDVQQDExdQdWJs\n" 30 "MIIFKTCCAxGgAwIBAgIBATANBgkqhkiG9w0BAQUFADBZMSAwHgYDVQQDExdQdWJs\n"
31 "aWMgVHJ1c3RCcmlkZ2UgVGVzdDEoMCYGA1UEChMfUHVibGljIHNlY3JldCBkbyBu\n" 31 "aWMgVHJ1c3RCcmlkZ2UgVGVzdDEoMCYGA1UEChMfUHVibGljIHNlY3JldCBkbyBu\n"
32 "b3QgdHJ1c3QgdGhpczELMAkGA1UEBhMCREUwHhcNMTMwMTAxMDAwMDAwWhcNMTUx\n" 32 "b3QgdHJ1c3QgdGhpczELMAkGA1UEBhMCREUwHhcNMTMwMTAxMDAwMDAwWhcNMTUx\n"
33 "MjMxMjM1OTU5WjBlMSwwKgYDVQQDEyNQdWJsaWMgVHJ1c3RCcmlkZ2UgY29kZXNp\n" 33 "MjMxMjM1OTU5WjBlMSwwKgYDVQQDEyNQdWJsaWMgVHJ1c3RCcmlkZ2UgY29kZXNp\n"
34 "Z25pbmcgdGVzdDEoMCYGA1UEChMfUHVibGljIHNlY3JldCBkbyBub3QgdHJ1c3Qg\n" 34 "Z25pbmcgdGVzdDEoMCYGA1UEChMfUHVibGljIHNlY3JldCBkbyBub3QgdHJ1c3Qg\n"
35 "dGhp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 "Y8w7FNHYMiaw2xII1Fcrv7nmO+tysu+GhJ04oj4=\n"
58 "QYqkeTQG/IjPk0QFrYQxMqq6QKgds2nheYd4LyLGhk72pKWr28Hfj1ElcoTFFbWP\n"
59 "ndI+uZePkkCsVYNMXbIAIpqLb++1ftl+L+itqxTyq+0tPObIL3WG9rzBGz8X6WT0\n"
60 "KIzi4KAn66e5/iWZng==\n"
61 "-----END CERTIFICATE-----\n"; 58 "-----END CERTIFICATE-----\n";
62 59
63 static const size_t public_key_codesign_pem_size = 2025; 60 static const size_t public_key_codesign_pem_size = 1850;
64 61
65 #endif 62 #endif

http://wald.intevation.org/projects/trustbridge/