Esempio n. 1
0
    def test_fetch_encrypted_key(self):
        cmd = Encrypt(go_server, key='password')

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

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

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

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