[Snap] Show actionable warning when password-manager-service is not connected instead of falling back to master password silently
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start in master_password.py at the NoKeyringError catch and follow how the master-password prompt is surfaced; reproduce the documented snap installation with the password-manager-service interface disconnected. Done means the unavailable keyring is explained, the snap command is suggested where applicable, and the master-password fallback is clearly identified.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug / feature request
When pgAdmin 4 is installed via snap and the password-manager-service
interface is not connected, pgAdmin silently falls back to requiring a
master password with no explanation why.
Since pgAdmin 7.2+, the OS keyring is the default and preferred storage
for saved passwords in desktop mode. However, snap's strict confinement
prevents keyring access unless the user explicitly runs:
snap connect pgadmin4:password-manager-service
This is not documented anywhere in the app, and most users will never
find it. The only hint is in the pgadmin4-snap GitHub README, which most
users never read.
Expected behavior
When pgAdmin detects that the OS keyring is unavailable (e.g.
NoKeyringError), it should:
- Show a clear, user-friendly message explaining that the system keyring
is not accessible - On Linux snap installs specifically, suggest the fix:
snap connect pgadmin4:password-manager-service - Offer master password as a fallback option with explanation
Current behavior
pgAdmin silently falls back to prompting for a master password with no
explanation, leading users to spend significant time trying to disable
the master password via config files (which is impossible to do via
config_local.py on snap due to read-only filesystem and snap Python path
isolation).
Steps to reproduce
- Install pgAdmin via snap:
sudo snap install pgadmin4 - Open pgAdmin
- Observe master password prompt with no explanation
Fix
The fix in master_password.py where NoKeyringError is caught could
be extended to surface a user-facing message. Additionally, requesting
auto-connect approval from the Snap Store team for the
password-manager-service interface would solve this entirely.
Environment
- OS: Ubuntu (snap install)
- pgAdmin version: 9.14
- Package type: Snap
- Lenguaje dominante
- Python
- Estrellas
- 3.9k
- Forks
- 918
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 35
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de pgadmin-org/pgadmin4
-
Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pgadmin-org/pgadmin4#10673 ·
Los mantenedores suelen responder en 2 días
-
Import/Export Data fails for a file name containing a backslash, and creates a stray file named EAbiertoBug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
pgadmin-org/pgadmin4#10672 ·
Los mantenedores suelen responder en 2 días
-
Feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
pgadmin-org/pgadmin4#10426 · 3 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
Drag-n-drop file to sql editor tool don't clear previous content before adding the new content in windowsPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. AbiertoFeature
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
pgadmin-org/pgadmin4#10272 · 5 comentarios ·
Los mantenedores suelen responder en 2 días
-
Housekeeping
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
pgadmin-org/pgadmin4#10157 · 1 comentario ·
Los mantenedores suelen responder en 2 días
Todos los issues de pgadmin-org/pgadmin4
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
bytedance/agentkit-samples#277 ·
-
ai-driven-fuzzing bug claude Minor
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
Los mantenedores suelen responder en 2 días
-
Edit: TVS Encarnacion [PY]Abiertochannels:edit check:passed
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
[Bug] The blue-green mitigation strategy lists catalog names and views before the source tablesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
aws-samples/sample-aws-genai-db-modernizer#2097 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día