Skip to content
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

gluon-private-wifi: rename psk3 to sae as it is used in openwrt that way #3412

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maurerle
Copy link
Member

@maurerle maurerle commented Jan 5, 2025

I had a hard time finding information about psk3 in openwrt documentation as it is not mentioned here:

https://openwrt.org/docs/guide-user/network/wifi/basic#encryption_modes

I think the naming changed some time, so it makes sense to use the documented value of sae instead of psk3.

The functionality in openwrt is the same, so this does not change any functionality and there is no good reason to migrate existing configs.
Though this helps to better find related documentation to the value set in uci show wireless

@github-actions github-actions bot added 3. topic: package Topic: Gluon Packages 3. topic: config-mode This is about the configuration mode 3. topic: wireless Topic: Wireless labels Jan 5, 2025
@blocktrron
Copy link
Member

You need a migration as the current state display in the frontend is used as the identifier.

@rotanid rotanid added the 2. status: blocked Marked as blocked because it's waiting on something label Jan 5, 2025
@maurerle
Copy link
Member Author

maurerle commented Jan 5, 2025

Isn't it enough to replace the string when setting the default like I do in this PR?

@neocturne
Copy link
Member

Isn't it enough to replace the string when setting the default like I do in this PR?

Would be cleaner to migrate it once in an upgrade script instead of keeping the string replacement in the UI forever.

@blocktrron
Copy link
Member

I'm with @neocturne on this - Your approach would need to be kept indefinitely while a migration can be removed at one point in the future.

add proper migration for older uci setting

Signed-off-by: Florian Maurer <f.maurer@outlook.de>
@maurerle maurerle changed the title gluon-core: rename psk3 to sae as it is used in openwrt that way gluon-private-wifi: rename psk3 to sae as it is used in openwrt that way Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2. status: blocked Marked as blocked because it's waiting on something 3. topic: config-mode This is about the configuration mode 3. topic: package Topic: Gluon Packages 3. topic: wireless Topic: Wireless
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants