• Antonio Quartulli's avatar
    data_files/pkcs8-v2: add keys generated with PRF != SHA1 · f476b9d9
    Antonio Quartulli authored
    
    
    We now have support for the entire SHA family to be used as
    PRF in PKCS#5 v2.0, therefore we need to add new keys to test
    these new functionalities.
    
    This patch adds the new keys in `tests/data_files` and
    commands to generate them in `tests/data_files/Makefile`.
    
    Note that the pkcs8 command in OpenSSL 1.0 called with
    the -v2 argument generates keys using PKCS#5 v2.0 with SHA1
    as PRF by default.
    
    (This behaviour has changed in OpenSSL 1.1, where the exact same
    command instead uses PKCS#5 v2.0 with SHA256)
    
    The new keys are generated by specifying different PRFs with
    -v2prf.
    
    Signed-off-by: default avatarAntonio Quartulli <antonio@openvpn.net>
    f476b9d9