It seems like dnst keyset generate in a wrong way the private key and the public key with ED448 when i add a zone.
I report the output
LDC@UBUNTU-PJW:/var/lib/cascade$ cascade zone add --source /var/lib/cascade/zone-cust/bug16.txt --policy prova8 test.it
2026-01-14T21:06:47.959752Z DEBUG cascade::cli::client: Sending HTTP POST request to 'http://127.0.0.1:4539/zone/add'
2026-01-14T21:06:47.959977Z DEBUG reqwest::connect: starting new connection: http://127.0.0.1:4539/
2026-01-14T21:06:47.960009Z DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:4539
2026-01-14T21:06:47.960126Z DEBUG hyper_util::client::legacy::connect::http: connected to 127.0.0.1:4539
2026-01-14T21:06:48.101142Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("http", 127.0.0.1:4539)
2026-01-14T21:06:48.101424Z ERROR cascade: Error: Failed to add zone: Zone registration failed: Keyset command '/usr/libexec/cascade/cascade-dnst keyset -c /var/lib/cascade/keys/test.it.cfg init' returned non-zero exit code: exit status: 1 [stdout=, stderr=[/usr/libexec/cascade/cascade-dnst] ERROR: private key file:///var/lib/cascade/keys/Ktest.it.+016+03487.private and public key file:///var/lib/cascade/keys/Ktest.it.+016+03487.key do not match: algorithm not supported
]
These are the KSK keys
test.it. IN DNSKEY 257 3 16
a/IZyl8Zqd9EZyxLTiK1J4d5GCCscmM8PRjjVHaiRyGLny8DO4ijdWE74YPuEv5GaHRk8emM+bUA
Private-key-format: v1.2
Algorithm: 16 (ED448)
PrivateKey: 5b6nQJmHioFNxyC2AkaVXG8atzjZ/N0XN4s33/PeWKpNoR/UE1PaSyf7dVTcs1y5sj6cHQUbYf97
These are the ZSK keys
test.it. IN DNSKEY 256 3 16
cn1/nAHRnjROdO4luBsr13rLU87q8n1DkIYFG37uTYwQbOpl5csM7TCN5YTxgvqlSujNSKO2F8wA
Private-key-format: v1.2
Algorithm: 16 (ED448)
PrivateKey: 0yWaTVbgqhxRdSr4FDnY+Loh0oRq8SjoB4VsPxm9G2JU9oieV/E43ZF4CzWDid0OLZMw/LdrrOsH
It seems like dnst keyset generate in a wrong way the private key and the public key with ED448 when i add a zone.
I report the output
LDC@UBUNTU-PJW:/var/lib/cascade$ cascade zone add --source /var/lib/cascade/zone-cust/bug16.txt --policy prova8 test.it
2026-01-14T21:06:47.959752Z DEBUG cascade::cli::client: Sending HTTP POST request to 'http://127.0.0.1:4539/zone/add'
2026-01-14T21:06:47.959977Z DEBUG reqwest::connect: starting new connection: http://127.0.0.1:4539/
2026-01-14T21:06:47.960009Z DEBUG hyper_util::client::legacy::connect::http: connecting to 127.0.0.1:4539
2026-01-14T21:06:47.960126Z DEBUG hyper_util::client::legacy::connect::http: connected to 127.0.0.1:4539
2026-01-14T21:06:48.101142Z DEBUG hyper_util::client::legacy::pool: pooling idle connection for ("http", 127.0.0.1:4539)
2026-01-14T21:06:48.101424Z ERROR cascade: Error: Failed to add zone: Zone registration failed: Keyset command '/usr/libexec/cascade/cascade-dnst keyset -c /var/lib/cascade/keys/test.it.cfg init' returned non-zero exit code: exit status: 1 [stdout=, stderr=[/usr/libexec/cascade/cascade-dnst] ERROR: private key file:///var/lib/cascade/keys/Ktest.it.+016+03487.private and public key file:///var/lib/cascade/keys/Ktest.it.+016+03487.key do not match: algorithm not supported
]
These are the KSK keys
test.it. IN DNSKEY 257 3 16
a/IZyl8Zqd9EZyxLTiK1J4d5GCCscmM8PRjjVHaiRyGLny8DO4ijdWE74YPuEv5GaHRk8emM+bUA
Private-key-format: v1.2
Algorithm: 16 (ED448)
PrivateKey: 5b6nQJmHioFNxyC2AkaVXG8atzjZ/N0XN4s33/PeWKpNoR/UE1PaSyf7dVTcs1y5sj6cHQUbYf97
These are the ZSK keys
test.it. IN DNSKEY 256 3 16
cn1/nAHRnjROdO4luBsr13rLU87q8n1DkIYFG37uTYwQbOpl5csM7TCN5YTxgvqlSujNSKO2F8wA
Private-key-format: v1.2
Algorithm: 16 (ED448)
PrivateKey: 0yWaTVbgqhxRdSr4FDnY+Loh0oRq8SjoB4VsPxm9G2JU9oieV/E43ZF4CzWDid0OLZMw/LdrrOsH