This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# IN 0.9.8y | |
static const int X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT; | |
static const int X509_V_ERR_UNABLE_TO_GET_CRL; | |
static const int X509_V_ERR_UNABLE_TO_DECRYPT_CERT_SIGNATURE; | |
static const int X509_V_ERR_UNABLE_TO_DECRYPT_CRL_SIGNATURE; | |
static const int X509_V_ERR_UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY; | |
static const int X509_V_ERR_CERT_SIGNATURE_FAILURE; | |
static const int X509_V_ERR_CRL_SIGNATURE_FAILURE; | |
static const int X509_V_ERR_CERT_NOT_YET_VALID; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
print "VERSION", pytest.__version__ | |
print "CONFIG --assert", pytest.config.getoption("--assert") | |
""" | |
=============================================================================== test session starts =============================================================================== | |
platform linux2 -- Python 2.7.5 -- pytest-2.5.1 | |
plugins: xdist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CDEF = """ | |
typedef ... ENGINE; | |
typedef ... ENGINE_CIPHERS_PTR; | |
int ENGINE_set_ciphers(ENGINE *, ENGINE_CIPHERS_PTR); | |
""" | |
f = cffi.FFI() | |
f.cdef(CDEF) | |
lib = f.verify(""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
import os | |
@pytest.fixture(scope="session") | |
def wut(request): | |
return repr(os.urandom(16)) | |
def test_a(wut): | |
print wut |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from testmachine import TestMachine | |
from testmachine.common import basic_operations | |
from cryptography.hazmat.backends import default_backend | |
from cryptography.hazmat.primitives import hashes | |
machine = TestMachine() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
COUNT = 0 | |
KEY = 085b8af6788fa6bc1a0b47dcf50fbd35 | |
IV = 58cb2b12bb52c6f1 | |
PLAINTEXT = 4b5a872260293312eea1a570fd39c788 | |
CIPHERTEXT = 5d9c48bf7dc115f28e153dc93dfcff96 | |
COUNT = 1 | |
KEY = 701ccc4c0e36e512ce077f5af6ccb957 | |
IV = 5337ddeaf89a00dd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import binascii | |
import botan | |
BLOCK_SIZE = 64 | |
def encrypt(key, iv, plaintext): | |
encryptor = botan.Cipher("IDEA/CFB", "encrypt", | |
binascii.unhexlify(key)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: openssl-0.9.8m/Configure | |
=================================================================== | |
--- openssl-0.9.8m.orig/Configure 2010-02-27 12:28:32.000000000 +0100 | |
+++ openssl-0.9.8m/Configure 2010-02-27 12:28:35.000000000 +0100 | |
@@ -1512,6 +1512,8 @@ | |
} | |
} | |
+$shared_ldflag .= " -Wl,--version-script=openssl.ld"; | |
+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAmQmC6PkTnQmc/p/PsmJD7MUw2mREHemYDRF2a96W8bFmqxBIy6k8pwJCJHCYSqItQcRcEZxd/mpz7pFEvpcjSS8h09FZUmkgQ01r0KPfa2FiS0g7NxGzosaIm7etL9xtWnMB67zc9H/5C5Ch/NSxe3aosiSesATJi8M01MOJNTDpMG4IsUbZybRrFjWw8D3/ZYBk1rArvpQccJsixoNRDEw823j/CsjT4luC2r/GKkZtqXRANuTbzmEGFwMGhRGX+lowD4irZhmn948FrfNGZSwQ+MZ2/BMwALEe/SxFa2Rh/va8OEqKKeTwrR20r4z6Zt68qCeCS1NfsOMi8oJJgAowuM63da5aGn4UDHNmc55VjhVXD5+o8OO+io5188aszjKx/mI/fmthkoMaQf1boYtTp9ozf51RC1WELbfcHcrjIiDQb1tgNNtucwN2IYXcTgaJPGnOIsKwHLl1W/QeUPa1yd5Da7Vgdih0ttRN+BRnIQT8/ZxwJ/aLrS8v/6rZGM/+S+hxHbJl/Oj419OTaXvKZ1B17wSCSaA5RtYlb1P9Ukf6z/vs/Ow6u1g9mbYzsJ07EEX1TQLCpsDonSorhP5Nsko58sxR3AhkcmyrOmaKoQBQ/ZOh6tpr9WLk3B6VTroHwedBsm9zFEXKAVS0mOutYBFFtN0/FDU7R1SL+1c= [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OPENSSL_0.9.8 { | |
global: | |
*; | |
}; |