home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / doc / whisperback / config.py.sample next >
Encoding:
Text File  |  2012-12-13  |  3.5 KB  |  113 lines

  1. # -*- coding: UTF-8 -*-
  2. #
  3. # Sample configuration file for Whisperback
  4. # =========================================
  5. #
  6. # This is a python script that will be read at startup. Any python
  7. # syntax is valid.
  8.  
  9. ########################################################################
  10. # WhisperBack - Send feedback in an encrypted mail
  11. # Copyright (C) 2009-2012 Tails developers <amnesia.org>
  12. #
  13. # This file is part of WhisperBack
  14. #
  15. # WhisperBack is  free software; you can redistribute  it and/or modify
  16. # it under the  terms of the GNU General Public  License as published by
  17. # the Free Software Foundation; either  version 3 of the License, or (at
  18. # your option) any later version.
  19. # This program  is distributed in the  hope that it will  be useful, but
  20. # WITHOUT   ANY  WARRANTY;   without  even   the  implied   warranty  of
  21. # MERCHANTABILITY  or FITNESS  FOR A  PARTICULAR PURPOSE.   See  the GNU
  22. # General Public License for more details.
  23. #
  24. # You should have received a copy of the GNU General Public License
  25. # along with this program.  If not, see <http://www.gnu.org/licenses/>.
  26. ########################################################################
  27.  
  28. # IMPORTS
  29.  
  30. # Do not change this - required to parse path
  31. import os.path
  32.  
  33. # DOCUMENTATION
  34.  
  35. # The right panel help (HTML string)
  36. html_help = _("""<h1>Help us fix your bug!</h1>
  37. <p><strong>Do not include more personal information than
  38. needed!</strong></p>
  39. <h2>About giving us an email address</h2>
  40. <p>If you don't mind disclosing some bits of your identity
  41. to developers, you can provide an email address to
  42. let us ask more details about the bug. Additionally entering
  43. a public PGP key enables us to encrypt such future
  44. communication.</p>
  45. """)
  46.  
  47. # ENCRYPTION
  48. #
  49. # This section defines encryption parameters
  50.  
  51. # The path to the OpenPGP keyring to use. If None, use OpenPGP default
  52. # keyring.
  53. gnupg_keyring = None
  54.  
  55. # RECIPIENT
  56. #
  57. # This section defines the recepient parameters
  58.  
  59. # The address of the recipient
  60. to_address = "mail@example.org"
  61.  
  62. # The fingerprint of the recipient's GPG key
  63. to_fingerprint = "0000000000000000000000000000000000000000"
  64.  
  65. # SENDER
  66. #
  67. # This section defines the sender parameters
  68.  
  69. # The address of the sender
  70. from_address = "mail@otherexample.org"
  71.  
  72. # SMTP
  73. #
  74. # This section defines the SMTP server parameters
  75. #
  76. # The SMTP server to use to send the mail
  77. smtp_host = "smtp.example.org"
  78. # The port to connect to on that SMTP server
  79. smtp_port = 25
  80. # The path to a file containing the certificate to trust
  81. # This can be either a CA certificate used to sign the SMTP server
  82. # certificate or the certificate of the SMTP server itself
  83. smtp_tlscafile = os.path.join("path", "to", "ca")
  84.  
  85. # MESSAGE
  86. #
  87. # This section defines the message parameters
  88.  
  89. # The subject of the email to be sent
  90. # Please take into account that this will not be encrypted
  91. mail_subject = "The subject of the mail"
  92.  
  93. # A callback function to get information to prepend to the mail
  94. # (this information will be encrypted). This is useful to add
  95. # software version.
  96. #
  97. # It should not take any parameter, and should return a string. This string
  98. # will be sanitized with whisperBack.utils.sanitize_hardware_info and
  99. # preprended to the email
  100. def mail_prepended_info():
  101.     return ""
  102.  
  103. # A callback function to get information to append to the email
  104. # (this information will be encrypted). This is useful to add
  105. # configuration files useful for debugging.
  106. #
  107. # It should not take any parameter, and should return a string. This string
  108. # will be sanitized with whisperBack.utils.sanitize_hardware_info and
  109. # appended to the email.
  110. def mail_appended_info():
  111.     return ""
  112.