Example #1
0
    def test_fetch_encrypted_key(self):
        cmd = Encrypt(go_server, key='password')

        assert cmd.run()['output'].endswith('password_encrypted = fhcre frperg')
Example #2
0
    def test_fetch_encrypted_key(self):
        cmd = Encrypt(go_server, key='password')

        assert cmd.run()['output'].endswith(
            'password_encrypted = fhcre frperg')
Example #3
0
    def test_encrypt(self, go_server):
        cmd = Encrypt(go_server, 'hello')

        assert cmd.run()['output'].endswith('Ciphertext = uryyb')
Example #4
0
    def test_encrypt(self, go_server):
        cmd = Encrypt(go_server, 'hello')

        assert cmd.run()['output'].endswith('Ciphertext = uryyb')