Commit | Line | Data |
---|---|---|
104b4a3b AE |
1 | #!/usr/bin/env python |
2 | # -*- coding: utf-8 -*- | |
3 | """********************************************************************* | |
4 | * This file is part of Edward the GPG Bot. * | |
5 | * * | |
6 | * Edward is free software: you can redistribute it and/or modify * | |
7 | * it under the terms of the GNU Affero Public License as published by * | |
8 | * the Free Software Foundation, either version 3 of the License, or * | |
9 | * (at your option) any later version. * | |
10 | * * | |
11 | * Edward is distributed in the hope that it will be useful, * | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * | |
14 | * GNU Affero Public License for more details. * | |
15 | * * | |
16 | * You should have received a copy of the GNU Affero Public License * | |
17 | * along with Edward. If not, see <http://www.gnu.org/licenses/>. * | |
18 | * * | |
19 | * Josh Drake, Copyright (c) 2014 * | |
20 | * Lisa Marie Maginnis, Copyright (c) 2014 * | |
21 | *********************************************************************""" | |
22 | ||
23 | replies = { | |
7fd900a0 | 24 | 'success_decrypt' : "Hello, I am Edward, the friendly GnuPG bot. I received your message and decrypted it. Here's a copy of your message:\n\n", |
104b4a3b AE |
25 | 'public_key_received' : 'I received your public key. Thanks.', |
26 | 'failed_decrypt' : "I'm sorry, I was not able to decrypt your message. Are you sure you encrypted it with my public key?", | |
27 | 'no_public_key' : "I'm sorry, I was not able to find your public key. Did you remember to attach it?", | |
28 | 'sig_failure' : 'Your signature could not be verified.', | |
29 | 'sig_success' : 'Your signature was verified.', | |
30 | 'signature' : '- Edward, the friendly GnuPG bot\nThe Free Software Foundation created me.\n\nCan you donate to support their work?\nhttps://www.fsf.org/donate' | |
31 | } | |
32 | ||
33 |