pidgin.feature 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. @product
  2. Feature: Chatting anonymously using Pidgin
  3. As a Tails user
  4. when I chat using Pidgin
  5. I should be able to use OTR
  6. And I should be able to persist my Pidgin configuration
  7. And AppArmor should prevent Pidgin from doing dangerous things
  8. And all Internet traffic should flow only through Tor
  9. #11453
  10. @check_tor_leaks @fragile
  11. Scenario: Chatting with some friend over XMPP
  12. Given I have started Tails from DVD and logged in and the network is connected
  13. When I start Pidgin through the GNOME menu
  14. Then I see Pidgin's account manager window
  15. When I create my XMPP account
  16. And I close Pidgin's account manager window
  17. Then Pidgin automatically enables my XMPP account
  18. Given my XMPP friend goes online
  19. When I start a conversation with my friend
  20. And I say something to my friend
  21. Then I receive a response from my friend
  22. #11414
  23. @check_tor_leaks @fragile
  24. Scenario: Chatting with some friend over XMPP in a multi-user chat
  25. Given I have started Tails from DVD and logged in and the network is connected
  26. When I start Pidgin through the GNOME menu
  27. Then I see Pidgin's account manager window
  28. When I create my XMPP account
  29. And I close Pidgin's account manager window
  30. Then Pidgin automatically enables my XMPP account
  31. When I join some empty multi-user chat
  32. And I clear the multi-user chat's scrollback
  33. And my XMPP friend goes online and joins the multi-user chat
  34. Then I can see that my friend joined the multi-user chat
  35. And I say something to my friend in the multi-user chat
  36. Then I receive a response from my friend in the multi-user chat
  37. When I say https://labs.riseup.net/code/projects/tails/roadmap to my friend in the multi-user chat
  38. Then I see the Tails roadmap URL
  39. When I wait 10 seconds
  40. And I click on the Tails roadmap URL
  41. Then the Tor Browser has started and loaded the Tails roadmap
  42. #11453
  43. @check_tor_leaks @fragile
  44. Scenario: Chatting with some friend over XMPP and with OTR
  45. Given I have started Tails from DVD and logged in and the network is connected
  46. When I start Pidgin through the GNOME menu
  47. Then I see Pidgin's account manager window
  48. When I create my XMPP account
  49. And I close Pidgin's account manager window
  50. Then Pidgin automatically enables my XMPP account
  51. Given my XMPP friend goes online
  52. When I start a conversation with my friend
  53. And I start an OTR session with my friend
  54. Then Pidgin automatically generates an OTR key
  55. And an OTR session was successfully started with my friend
  56. When I say something to my friend
  57. Then I receive a response from my friend
  58. #11414
  59. @check_tor_leaks @fragile
  60. Scenario: Connecting to the tails multi-user chat with my XMPP account
  61. Given I have started Tails from DVD and logged in and the network is connected
  62. And Pidgin has the expected accounts configured with random nicknames
  63. When I start Pidgin through the GNOME menu
  64. Then I see Pidgin's account manager window
  65. And I create my XMPP account
  66. And I close Pidgin's account manager window
  67. Then Pidgin automatically enables my XMPP account
  68. And I can join the "tails" channel on "conference.riseup.net"
  69. Scenario: Adding a certificate to Pidgin
  70. Given I have started Tails from DVD and logged in and the network is connected
  71. And I start Pidgin through the GNOME menu
  72. And I see Pidgin's account manager window
  73. And I close Pidgin's account manager window
  74. Then I can add a certificate from the "/home/amnesia" directory to Pidgin
  75. Scenario: Failing to add a certificate to Pidgin
  76. Given I have started Tails from DVD and logged in and the network is connected
  77. When I start Pidgin through the GNOME menu
  78. And I see Pidgin's account manager window
  79. And I close Pidgin's account manager window
  80. Then I cannot add a certificate from the "/home/amnesia/.gnupg" directory to Pidgin
  81. When I close Pidgin's certificate import failure dialog
  82. And I close Pidgin's certificate manager
  83. Then I cannot add a certificate from the "/lib/live/mount/overlay/home/amnesia/.gnupg" directory to Pidgin
  84. When I close Pidgin's certificate import failure dialog
  85. And I close Pidgin's certificate manager
  86. Then I cannot add a certificate from the "/live/overlay/home/amnesia/.gnupg" directory to Pidgin
  87. #11584
  88. @check_tor_leaks @fragile
  89. Scenario: Using a persistent Pidgin configuration
  90. Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in
  91. And Pidgin has the expected accounts configured with random nicknames
  92. And the network is plugged
  93. And Tor is ready
  94. And available upgrades have been checked
  95. And all notifications have disappeared
  96. When I start Pidgin through the GNOME menu
  97. Then I see Pidgin's account manager window
  98. When I create my XMPP account
  99. And I close Pidgin's account manager window
  100. Then Pidgin automatically enables my XMPP account
  101. When I close Pidgin
  102. # And I generate an OTR key for the default Pidgin account
  103. And I take note of the configured Pidgin accounts
  104. # And I take note of the OTR key for Pidgin's "conference.riseup.net" account
  105. And I shutdown Tails and wait for the computer to power off
  106. Given a computer
  107. And I start Tails from USB drive "__internal" and I login with persistence enabled
  108. And Pidgin has the expected persistent accounts configured
  109. # And Pidgin has the expected persistent OTR keys
  110. When I start Pidgin through the GNOME menu
  111. Then Pidgin automatically enables my XMPP account
  112. And I join some empty multi-user chat
  113. # Exercise Pidgin AppArmor profile with persistence enabled.
  114. # This should really be in dedicated scenarios, but it would be
  115. # too costly to set up the virtual USB drive with persistence more
  116. # than once in this feature.
  117. Given I start monitoring the AppArmor log of "/usr/bin/pidgin"
  118. Then I cannot add a certificate from the "/home/amnesia/.gnupg" directory to Pidgin
  119. And AppArmor has denied "/usr/bin/pidgin" from opening "/home/amnesia/.gnupg/test.crt"
  120. When I close Pidgin's certificate import failure dialog
  121. And I close Pidgin's certificate manager
  122. Given I restart monitoring the AppArmor log of "/usr/bin/pidgin"
  123. Then I cannot add a certificate from the "/live/persistence/TailsData_unlocked/gnupg" directory to Pidgin
  124. And AppArmor has denied "/usr/bin/pidgin" from opening "/live/persistence/TailsData_unlocked/gnupg/test.crt"
  125. When I close Pidgin's certificate import failure dialog
  126. And I close Pidgin's certificate manager
  127. Then I can add a certificate from the "/home/amnesia" directory to Pidgin