[ 
https://issues.apache.org/jira/browse/SOLR-18726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Høydahl updated SOLR-18726:
-------------------------------
    Fix Version/s: main(11.0)

> Configurable signature profiles for PKI inter-node authentication
> -----------------------------------------------------------------
>
>                 Key: SOLR-18726
>                 URL: https://issues.apache.org/jira/browse/SOLR-18726
>             Project: Solr
>          Issue Type: Improvement
>          Components: security
>            Reporter: Jan Høydahl
>            Priority: Major
>              Labels: pqc
>             Fix For: main(11.0)
>
>
> 🤖 AI Assisted
> PKIAuthenticationPlugin signs the {{SolrAuthV2}} header with hard-coded 
> RSA-2048 / SHA256withRSA ({{CryptoKeys.java}}). Operators can supply a larger 
> RSA key, but cannot change hash or key type. This is below CNSA 1.0 (RSA >= 
> 3072, SHA-384) and cannot move to CNSA 2.0 signatures (ML-DSA-87).
> *Proposal*
> * New header {{SolrAuthV3}}: {{<profile> <node> <user> <timestamp> 
> <signature>}}, profile included in the signed data. {{SolrAuthV2}} is kept 
> unchanged as the legacy profile; its format cannot take an extra field 
> without breaking 10.x parsing.
> * Named profiles: {{v2}} (RSA, SHA-256), {{rsa-sha384}}, {{ecdsa-p384}}, 
> {{ml-dsa-87}} (JDK 24+).
> * Configuration by system property / env var, following the SOLR-15965 
> pattern:
> ** {{solr.pki.send.profiles}} – profiles to sign with; one header per profile.
> ** {{solr.pki.accept.profiles}} – profiles a node accepts.
> * 11.0 defaults: send {{v2,rsa-sha384}}, accept {{v2,rsa-sha384}}, generated 
> key RSA-3072. One RSA key serves both, so {{/admin/info/key}} is unchanged 
> and a rolling upgrade from 10.x needs no flags.
> * CNSA-strict clusters set both properties to {{rsa-sha384}} (or another 
> profile) once all nodes run 11.
> * Non-RSA profiles add a {{keys}} map (profile -> public key) to 
> {{/admin/info/key}}.
> * Remove {{v2}} in 12.0.
> *Open questions*
> * ML-DSA-87 signatures are ~6.2 KB base64; the default request header limit 
> is 8192 bytes.
> * User-supplied keys ({{pkiHandlerPrivateKeyPath}}) are RSA only today; other 
> profiles need key loading per type.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to