-
-
Notifications
You must be signed in to change notification settings - Fork 326
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registration using Profile A #698
Comments
In my environment, SUCI Profile A Scheme works with Open5GS and UERANSIM by configuring according to the comments in For your reference, the method to extract the public key is as follows. https://github.com/s5uishida/note_5g_suci_profile_ab |
@s5uishida
Thank you for your time. |
Does |
@s5uishida Yes, the id for /etc/open5gs/hnet/curve25519-1.key is id=1, here is the udm.yaml file for your reference:
|
@s5uishida when you used the home network public key already saved in open5gs-ue.yaml, did you save it in /etc/open5gs/hnet/curve25519-1.key or something or you just changed protection scheme to 1? |
I built the latest source of Open5GS and tried it.
|
@s5uishida |
I built the latest |
I'm trying to use profile A that encrypts SUPI to register UE to open5gs. I used commented steps in udm.yaml where I generated keys using:
$openssl genpkey -algorithm X25519 -out /etc/open5gs/hnet/curve25519-1.key
and I extracted the public key and placed it in home network public key in open5gs-ue.yaml.. I alsochanged protection scheme from 0 to 1 in open5gs-ue.yaml, but I'm getting this error:
fatima@fatima-VirtualBox:~/UERANSIM$ sudo ./build/nr-ue -c config/open5gs-ue.yaml
UERANSIM v3.2.6
[2024-03-28 17:06:03.029] [nas] [info] UE switches to state [MM-DEREGISTERED/PLMN-SEARCH]
[2024-03-28 17:06:03.031] [rrc] [debug] New signal detected for cell[1], total [1] cells in coverage
[2024-03-28 17:06:04.922] [nas] [info] Selected plmn[901/70]
[2024-03-28 17:06:04.922] [rrc] [info] Selected cell plmn[901/70] tac[1] category[SUITABLE]
[2024-03-28 17:06:04.922] [nas] [info] UE switches to state [MM-DEREGISTERED/PS]
[2024-03-28 17:06:04.922] [nas] [info] UE switches to state [MM-DEREGISTERED/NORMAL-SERVICE]
[2024-03-28 17:06:04.922] [nas] [debug] Initial registration required due to [MM-DEREG-NORMAL-SERVICE]
[2024-03-28 17:06:04.924] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2024-03-28 17:06:04.924] [nas] [debug] Sending Initial Registration
[2024-03-28 17:06:04.940] [rrc] [debug] Sending RRC Setup Request
[2024-03-28 17:06:04.941] [rrc] [info] RRC connection established
[2024-03-28 17:06:04.942] [rrc] [info] UE switches to state [RRC-CONNECTED]
[2024-03-28 17:06:04.942] [nas] [info] UE switches to state [MM-REGISTER-INITIATED]
[2024-03-28 17:06:04.942] [nas] [info] UE switches to state [CM-CONNECTED]
[2024-03-28 17:06:04.972] [rrc] [debug] RRC Release received
[2024-03-28 17:06:04.972] [nas] [error] Initial Registration failed [SEMANTICALLY_INCORRECT_MESSAGE]
[2024-03-28 17:06:04.972] [nas] [debug] Handling Registration Reject abnormal case
[2024-03-28 17:06:04.972] [nas] [info] UE switches to state [5U2-NOT-UPDATED]
[2024-03-28 17:06:04.972] [nas] [info] UE switches to state [MM-DEREGISTERED/ATTEMPTING-REGISTRATION]
[2024-03-28 17:06:04.972] [nas] [info] UE switches to state [CM-IDLE]
Am I missing something?
Note that I tried registration with null scheme and it worked.
Thank you in advance.
The text was updated successfully, but these errors were encountered: