This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Root cause | |
| On macOS, native-tls uses Security.framework which fails to properly present client certificates during mTLS handshakes with self-signed CAs (like Chia's). This causes error -9806 (errSSLClosedAbort) — the Chia node rejects the | |
| connection. | |
| Fix | |
| Switch from native-tls to rustls for all TLS in the HTTP/REST layer. Three files need changes: | |
| 1. rust/xkv8r/Cargo.toml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function project_custom_init() { | |
| $labels = array( | |
| 'name' => 'Project', | |
| 'singular_name' => 'Project', | |
| 'menu_name' => 'Projects' | |
| ); | |
| $args = array( | |
| 'labels' => $labels, | |
| 'public' => true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function project_custom_init() { | |
| $labels = array( | |
| 'name' => 'Project', | |
| 'singular_name' => 'Project', | |
| 'menu_name' => 'Projects' | |
| ); | |
| $args = array( | |
| 'labels' => $labels, | |
| 'public' => true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * | |
| FROM table_name a | |
| WHERE EXISTS ( | |
| SELECT 1 | |
| FROM table_name b | |
| WHERE b.name = a.name | |
| LIMIT 1 , 1 | |
| ) | |
| ORDER BY name ASC |