mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #5873] [feature]: Encrypt locally stored secrets #2312
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2312
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @thmbck on GitHub (Feb 12, 2026).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5873
Is there an existing issue for this?
Summary
In Hoppscotch desktop, secrets defined in environments, collections, or entered in the authorization section of a request, are stored in plain text at a well-known location in a world-readable file (hoppscotch.hoppscotch.store on macOS). This sensitive information should be protected by encryption with a key provided by the user. The Hoppscotch app should prompt the user for the key to decrypt the secrets when needed or upon startup.
Why should this be worked on?
According to the Hoppscotch documentation, "It is expected that the user will populate the value of the variable at runtime." However, it is impossible to enter a secret, such as an access token, without Hoppscotch storing it as plain text in a public file. This is especially concerning when a computer is shared. Encryption is an easy way to keep secrets more secure.
@thmbck commented on GitHub (Feb 12, 2026):
Even more concerning is that the secrets are logged unmasked in the restHistory section in hoppscotch.hoppscotch.store.
@bittoby commented on GitHub (Feb 21, 2026):
@jamesgeorge007 @CuriousCorrelation Hi, I'm interested in this project. I'd like to contribute. Can I pick this up?
thank you