PVA/SPVA: track SPVA version independently and move XDG keychain dir pva/<ver> -> spva/<n.n.n>
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 65/100
Direzione di ricerca
Inizia da core/pva/src/main/java/org/epics/pva/PVASettings.java e leggi la costante della versione e il percorso di rilevamento automatico del portachiavi TLS. Modifica la versione codificata staticamente impostandola alla versione SPVA e usa spva/<version> per il rilevamento, mantenendo il valore allineato alla versione autorevole lato PVXS. Il lavoro è completato quando il rilevamento Java usa la nuova directory e, come consigliato nell’issue, può ripiegare sul percorso legacy pva/<version>.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
In the Secure PVAccess (SPVA) line of work, the SPVA release version is being decoupled from the PVXS library version. On the C++ side (PVXS / PVACMS) the SPVA version becomes a separately-tracked number, and the well-known TLS keychain directory changes from pva/<pvxs-version> to spva/<spva-version>.
Phoebus's core/pva/ is an independent Java PVA implementation and does not link the C++ PVXS code, so it cannot consume that version programmatically. It must hard-code the SPVA version (as it already hard-codes the PVA version today) and keep it in sync by hand.
Current behaviour
core/pva/src/main/java/org/epics/pva/PVASettings.java:
// Hard-coded, documented as "Matches PVXS versionString()"
private static final String PVA_VERSION = "1.5";
// Well-known TLS keychain auto-discovery location:
// <xdg_config_home>/pva/<PVA_VERSION>/<filename>
final String path = config_home + File.separator + "pva"
+ File.separator + PVA_VERSION
+ File.separator + filename;
Used to auto-discover server.p12 and client.p12 under ~/.config/pva/1.5/ when EPICS_PVA(S)_TLS_KEYCHAIN is unset, mirroring the PVXS config.cpp fallback.
Requested changes
-
Replace the PVXS-derived
PVA_VERSIONwith a hard-coded SPVA version constant (e.g.SPVA_VERSION), documented as manually mirroring the authoritative PVXS-side SPVA version, with a comment pointing at that source so the two stay in lockstep per SPVA release. -
Change keychain auto-discovery from
pva/<PVA_VERSION>tospva/<SPVA_VERSION>:~/.config/spva/<n.n.n>/server.p12~/.config/spva/<n.n.n>/client.p12
(literal
pva->spva, and the version source changes from PVXS major.minor to the SPVAn.n.n.)
Scope / interop notes
- Java side uses only the config home path here (keychain discovery); there is no data-home / cert-DB usage, unlike the C++ tooling.
- The directory must match whatever PVXS / PVACMS adopt, or the Java client and C++ tools will look in different places for shared keychains. Recommend the same migration behaviour on all sides: fall back to the legacy
pva/<ver>path when the newspva/<n.n.n>one is absent, so existing deployments keep working.
Context
This is the Phoebus-side counterpart of the SPVA version-tracking change being made in the PVXS and PVACMS repositories; those define the authoritative SPVA version and the spva/<n.n.n> convention. Phoebus tracks the same value by hand.
- Lingua principale
- Java
- Stelle
- 130
- Fork
- 132
- Merge medio
- 3g 1h
- PR unite (30g)
- 24
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ControlSystemStudio/phoebus
-
Create CONTRIBUTING.mdAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ControlSystemStudio/phoebus#3979 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ControlSystemStudio/phoebus#3962 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 52/100
ControlSystemStudio/phoebus#3980 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
ControlSystemStudio/phoebus#3978 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ControlSystemStudio/phoebus#3966 ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di ControlSystemStudio/phoebus
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
NationalSecurityAgency/ghidra#9997 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] DefaultSerializationExceptionWrapper does not implement Cleanable, so cleanup() is never invoked by codecsForse già presa @binbin0325 l’ha presa oggi. Apertacomponent/need-triage type/need-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
2026 Error Report
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
triplea-game/triplea#15096 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug][API] Switching workflow versions leaves schedules onlineForse già presa @zhuangchong l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
apache/dolphinscheduler#18731 ·
I maintainer di solito rispondono entro 1 giorno