(self, targette_sec)
| 203 | assert w.filename == __file__ |
| 204 | |
| 205 | def test_decrypt_wrongkey(self, targette_sec): |
| 206 | msg = PGPMessage.from_file('tests/testdata/messages/message.rsa.cast5.asc') |
| 207 | with pytest.raises(PGPError): |
| 208 | targette_sec.decrypt(msg) |
| 209 | |
| 210 | def test_decrypt_protected_key(self, rsa_enc, rsa_pub): |
| 211 | with pytest.raises(PGPError), warnings.catch_warnings(): |