You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Yopass] Extension posts to legacy POST /secret endpoint — 404 on Yopass v9+ (endpoint moved to /create/secret) #30813
The official CLI already uses the new path (pkg/yopass/client.go: server+"/create/secret").
Repro (verified against a self-hosted v9 instance and against api.yopass.se)
POST https://<instance>/secret -> 404 page not found
POST https://<instance>/create/secret -> 400 {"message":"Message must be PGP encrypted"} (route alive)
So with default preferences (or any modern instance), the extension always fails with 404 page not found after encryption.
Expected behaviour
POST to ${preferences.apiUrl}/create/secret instead of /secret.
Keep building the share URL as ${preferences.url}/#/s/${id}/${password} (unchanged, still current Yopass format).
Note: for self-hosted single-origin instances both preferences (Yopass URL and Yopass API URL) are the same base URL, e.g. https://yopass.example.com — that part works fine; the only blocker is the legacy endpoint path.
Steps To Reproduce
Install the Yopass extension.
Configure a Yopass v9+ instance (self-hosted or the default yopass.se/api.yopass.se).
Run "Encrypt Message".
Current Behaviour
Encryption succeeds locally (openpgp) then the POST fails with 404 page not found and the error toast shows.
Expected Behaviour
Secret is stored and the /#/s/<id>/<key> link is copied.
Relates to #25058 / #25073 (previous 'doesn't work' fixes, different cause).
Activity
fix(yopass): post secrets to /create/secret (Yopass v13+) (raycast#30814