open5gs/lib/dbi
Sukchan Lee 79d46be086 Introduced Subscription identifier de-concealing
o Generate the private key as below.
   $ openssl genpkey -algorithm X25519 -out /etc/open5gs/hnet/curve25519-1.key
   $ openssl ecparam -name prime256v1 -genkey -conv_form compressed -out /etc/open5gs/hnet/secp256r1-2.key

 o The private and public keys can be viewed with the command.
   The public key is used when creating the SIM.
   $ openssl pkey -in /etc/open5gs/hnet/curve25519-1.key -text
   $ openssl ec -in /etc/open5gs/hnet/secp256r1-2.key -conv_form compressed -text

In ausf/udm.yaml

 hnet:
    o Home network public key identifier(PKI) value : 1
      Protection scheme identifier : ECIES scheme profile A
    - id: 1
      scheme: 1
      key: /etc/open5gs/hnet/curve25519-1.key

    o Home network public key identifier(PKI) value : 2
      Protection scheme identifier : ECIES scheme profile B
    - id: 2
      scheme: 2
      key: /etc/open5gs/hnet/secp256r1-2.key

    o Home network public key identifier(PKI) value : 3
      Protection scheme identifier : ECIES scheme profile A
    - id: 3
      scheme: 1
      key: /etc/open5gs/hnet/curve25519-1.key

    o Home network public key identifier(PKI) value : 4
      Protection scheme identifier : ECIES scheme profile B
    - id: 4
      scheme: 2
      key: /etc/open5gs/hnet/secp256r1-2.key

Related to #1779
2022-12-24 20:22:45 +09:00
..
ims.c [Cx] LIR/LIA is added (#921) 2021-04-07 21:46:05 +09:00
ims.h [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00
meson.build [HSS] Enable Change Streams (#1758) 2022-09-23 21:24:50 +09:00
ogs-dbi.h [HSS] Enable Change Streams (#1758) 2022-09-23 21:24:50 +09:00
ogs-mongoc.c [mongo] Use "ping" command instead of "serverStatus" 2022-12-21 23:15:34 +09:00
ogs-mongoc.h [DBI] Disable Change Streams with mongo Version 2022-10-13 17:33:35 +09:00
path.c remove warning in MacOSX (#1797) 2022-10-25 21:14:53 +09:00
path.h [HSS] Enable Change Streams (#1758) 2022-09-23 21:24:50 +09:00
session.c [PCRF] fix the crash in flow->description (#1313) 2022-01-12 10:15:36 +09:00
session.h arch: DB schema Changes (#796) 2021-03-08 21:25:09 +09:00
subscription.c Introduced Subscription identifier de-concealing 2022-12-24 20:22:45 +09:00
subscription.h Follow-up on #1744 2022-09-13 17:03:18 +09:00
timer.c [HSS] Enable Change Streams (#1758) 2022-09-23 21:24:50 +09:00
timer.h [HSS] Enable Change Streams (#1758) 2022-09-23 21:24:50 +09:00