1 // Copyright 2016 Google LLC. All Rights Reserved. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package testonly 16 17 // KEYS IN THIS FILE ARE ONLY FOR TESTING. They must not be used by production code. 18 19 // CTLogKeyPassword is the password for the test key 20 const CTLogKeyPassword string = "napkin" 21 22 // CTLogPrivateKeyPEM is an ECDSA private key for log tests 23 const CTLogPrivateKeyPEM string = ` 24 -----BEGIN EC PRIVATE KEY----- 25 Proc-Type: 4,ENCRYPTED 26 DEK-Info: DES-CBC,CD876BDE00043553 27 28 mvY+JQH/K5NeNba10dtLyvkmVrH+hS9kPkKSk/exHPezCyHF8FytpOMC5sKDj5S4 29 180O3hcZytZMh3b7lvyimxZ5HmfTm+ZBxAEZCigmb+pBxSzTX7+MK7bew2XZeQdl 30 p4G1u2PHCzVeyPnRd2XLQ0SBo0T7pKsGVLgae4N45UA= 31 -----END EC PRIVATE KEY----- 32 ` 33 34 // CTLogPublicKeyPEM is the corresponding public key 35 const CTLogPublicKeyPEM string = ` 36 -----BEGIN PUBLIC KEY----- 37 MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEQczNovWyMB74+fAgPAiX60k0M4cO 38 QYn3hIzwSTVAcrKhHDyT85t4BoXdgl6XzMAVHmF7b6GyKoyyya1hSW4lLg== 39 -----END PUBLIC KEY-----` 40 41 // CTLogIDBase64 is the log ID that corresponds to the test keys 42 const CTLogIDBase64 string = "fMW69rPsQG6J9V1zJeIvei6q+GGYrNxe84y5e0/KaEw=" 43