Skip to content

Commit

Permalink
use X25519MLKEM768
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 committed Oct 29, 2024
1 parent edf75dc commit 354e3fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions curl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ android {

dependencies {
if (enableLTO.present) {
api("io.github.vvb2060.ndk:boringssl:5.0-lto-ndk27")
api("io.github.vvb2060.ndk:boringssl:20241024-lto-ndk27")
} else {
api("io.github.vvb2060.ndk:boringssl:5.0")
api("io.github.vvb2060.ndk:boringssl:20241024")
}
}

Expand Down
4 changes: 2 additions & 2 deletions tool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ android {
}

dependencies {
releaseImplementation("io.github.vvb2060.ndk:boringssl:5.0-lto-ndk27")
debugImplementation("io.github.vvb2060.ndk:boringssl:5.0")
releaseImplementation("io.github.vvb2060.ndk:boringssl:20241024-lto-ndk27")
debugImplementation("io.github.vvb2060.ndk:boringssl:20241024")
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import java.util.ArrayList;
import java.util.List;
import java.util.StringTokenizer;
import java.util.UUID;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;
Expand Down Expand Up @@ -185,7 +186,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(buildView());
apkPath = getApplicationInfo().sourceDir;
editText.setText("--http3-only --curves X25519Kyber768Draft00 --ech true --doh-url https://1.0.0.1/dns-query https://cloudflare-ech.com/cdn-cgi/trace");
editText.setText("-s --http3-only --curves X25519MLKEM768 --ech true --doh-url https://1.1/dns-query https://" + UUID.randomUUID() + ".encryptedsni.com/cdn-cgi/trace");
editText.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER));
}

Expand Down

0 comments on commit 354e3fd

Please sign in to comment.