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

[FR] Add support of vgc://-keys #1471

Open
Korb opened this issue Nov 3, 2024 · 2 comments
Open

[FR] Add support of vgc://-keys #1471

Korb opened this issue Nov 3, 2024 · 2 comments
Labels

Comments

@Korb
Copy link

Korb commented Nov 3, 2024

Feature description

Currently, when trying to add a configuration to the Hiddify using a Add From Clipboard function and a key like vgc://SCoQYzqLAHdCWgc…, an "Failed to Add Profile. Invalid Configs. unable to determine config format" error message appears.

This is a VPN Generator configuration supported by the VPN Generator and Amnezia VPN applications.

Hiddify 2.1.5 (Aug 5, 2024)

Model: Vivo T1 (4G, V2153)
OS version: Funtouch OS 14
Hardware version: MP_0.1
Build number: PD22010F_EX_A_14.2.9.0.W20
Baseband version: .HA.1.1.c2-00054-DIVAR_GENSP_PACK-1.29062.107
Kernel version: 4.19.157-perf+, 1 Sat Oct 12 11:14:50 CST 2024
Compile time: 12 Oct 2024 06:06:30
Android security update: 1 October 2024
Google Play system update: 1 September 2024
Software parameter update: 15 October 2024

@titancomputer
Copy link

PR welcomed

@aleksannikit
Copy link

aleksannikit commented Nov 14, 2024

Feature description

Currently, when trying to add a configuration to the Hiddify using a Add From Clipboard function and a key like vgc://SCoQYzqLAHdCWgc…, an "Failed to Add Profile. Invalid Configs. unable to determine config format" error message appears.

This is a VPN Generator configuration supported by the VPN Generator and Amnezia VPN applications.

Hiddify 2.1.5 (Aug 5, 2024)

Model: Vivo T1 (4G, V2153) OS version: Funtouch OS 14 Hardware version: MP_0.1 Build number: PD22010F_EX_A_14.2.9.0.W20 Baseband version: .HA.1.1.c2-00054-DIVAR_GENSP_PACK-1.29062.107 Kernel version: 4.19.157-perf+, 1 Sat Oct 12 11:14:50 CST 2024 Compile time: 12 Oct 2024 06:06:30 Android security update: 1 October 2024 Google Play system update: 1 September 2024 Software parameter update: 15 October 2024

It's not necessary, it's a proprietary format. Simple base58 encoding. I wrote a code snippet for decoding, try it!
https://jsfiddle.net/aleksannikit/ofm7nbwx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants