Changeset b2546f0 in mod_gnutls for test/softhsm-init.py


Ignore:
Timestamp:
Jan 9, 2020, 5:44:38 PM (11 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
asyncio, master, proxy-ticket
Children:
20a3915
Parents:
221ffe5
Message:

mgstest.softhsm: Include type when searching object URLs

The p11tool documentation notes that some tokens require the same
label to be used for a certificate and its private key. That isn't the
case for SoftHSM, but I still want to support the case where a key
pair shares a label.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/softhsm-init.py

    r221ffe5 rb2546f0  
    4646        token.reset_db()
    4747        token.init_token()
    48         token.store_key(args.privkey, mgstest.softhsm.test_key_label)
     48        token.store_key(args.privkey, mgstest.softhsm.test_label)
    4949        if args.certificate:
    50             token.store_cert(args.certificate, mgstest.softhsm.test_cert_label)
     50            token.store_cert(args.certificate, mgstest.softhsm.test_label)
    5151    except:
    5252        # Don't leave a half-done token around, the next make call
Note: See TracChangeset for help on using the changeset viewer.