(self)
| 384 | msg.encrypt('asdf', sessionkey=0xabdf1234abdf1234, cipher=SymmetricKeyAlgorithm.AES128) |
| 385 | |
| 386 | def test_parse_wrong_magic(self): |
| 387 | msgtext = _read('tests/testdata/messages/message.signed.asc').replace('MESSAGE', 'EMSSAGE') |
| 388 | msg = PGPMessage() |
| 389 | with pytest.raises(ValueError): |
| 390 | msg.parse(msgtext) |
| 391 | |
| 392 | |
| 393 | class TestPGPSignature(object): |
nothing calls this directly
no test coverage detected