Esempio n. 1
0
def test_rsa_init(tmpdir):
    path = tmpdir.strpath
    res = rsa_init({
                       'use': ['enc'], 'type': 'RSA', 'size': 1024,
                       'name': os.path.join(path, "rsa_enc")
                   })
    assert res
Esempio n. 2
0
def test_rsa_init(tmpdir):
    path = tmpdir.strpath
    res = rsa_init({
        'use': ['enc'],
        'type': 'RSA',
        'size': 1024,
        'name': os.path.join(path, "rsa_enc")
    })
    assert res
Esempio n. 3
0
def test_rsa_init(tmpdir):
    path = tmpdir.strpath
    res = rsa_init(
        {
            "use": ["enc"],
            "type": "RSA",
            "size": 1024,
            "name": os.path.join(path, "rsa_enc"),
        }
    )
    assert res
Esempio n. 4
0
def test_rsa_init():
    path = "."
    res = rsa_init({'use': ['enc'], 'type': 'RSA', 'size': 1024,
                    'name': os.path.join(path, "rsa_enc")})
    assert res