File: README

package info (click to toggle)
python-pskc 1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,192 kB
  • sloc: python: 1,844; xml: 151; makefile: 22; sh: 9
file content (32 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
This directory contains keys and certificates that are used in the
python-pskc test suite for checking XML signatures.

The CA key and certificate were generated with:

openssl req \
  -x509 -newkey rsa:2048 -nodes \
  -keyout ca-key.pem -out ca-certificate.pem \
  -days 3650 -subj '/C=NL/O=python-pskc/CN=Test CA' \
  -addext 'keyUsage = critical, cRLSign, digitalSignature, keyCertSign'

The key used for signing the PSKC files and corresponding self-signed
certificate were generated with:

openssl req \
  -x509 -newkey rsa:2048 -nodes \
  -keyout key.pem -out ss-certificate.pem \
  -days 3650 -subj '/C=NL/O=python-pskc/CN=Test signing'

The certificate signed by the CA key was generated with:

openssl req \
  -new \
  -key key.pem -out request.pem \
  -subj '/C=NL/O=python-pskc/CN=Test signing' \
  -addext 'subjectAltName = email:test-signing@example.com'

openssl x509 \
  -req \
  -in request.pem -CA ca-certificate.pem -CAkey ca-key.pem -out certificate.pem \
  -days 3650 -set_serial 42 \
  -copy_extensions copy