comparison common/pubkey-release.h @ 770:7861950f7637

Make RSA Keysize definiable
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 10 Jul 2014 19:14:22 +0200
parents 17e1c8f37d72
children c64b6c56ce96
comparison
equal deleted inserted replaced
769:44257ecdae6d 770:7861950f7637
5 * and comes with ABSOLUTELY NO WARRANTY! 5 * and comes with ABSOLUTELY NO WARRANTY!
6 * See LICENSE.txt for details. 6 * See LICENSE.txt for details.
7 */ 7 */
8 #ifndef PUBKEY_RELEASE_H 8 #ifndef PUBKEY_RELEASE_H
9 #define PUBKEY_RELEASE_H 9 #define PUBKEY_RELEASE_H
10
11 /**@def The size of the RSA modulus */
12 #define TRUSTBRIDGE_RSA_KEY_SIZE 3072
13
10 static const unsigned char public_key_pem[] = 14 static const unsigned char public_key_pem[] =
11 "-----BEGIN PUBLIC KEY-----\n" 15 "-----BEGIN PUBLIC KEY-----\n"
12 "MIIDIjANBgkqhkiG9w0BAQEFAAOCAw8AMIIDCgKCAYEArUZK1sMV8cWeP48nExEh\n" 16 "MIIDIjANBgkqhkiG9w0BAQEFAAOCAw8AMIIDCgKCAYEArUZK1sMV8cWeP48nExEh\n"
13 "YiyIB5PMjjfvP9kJCTvfz0VKgD7H9KiTnRddLeYTAQTUmyr6NfgbLP3XMg1FNveN\n" 17 "YiyIB5PMjjfvP9kJCTvfz0VKgD7H9KiTnRddLeYTAQTUmyr6NfgbLP3XMg1FNveN\n"
14 "4JON1K+nkqNljQSzV8KzTokrmgKFA6PbVNh1pH7r44ZHygAbL8spymjYsuIiZYDj\n" 18 "4JON1K+nkqNljQSzV8KzTokrmgKFA6PbVNh1pH7r44ZHygAbL8spymjYsuIiZYDj\n"

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