mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-25 04:56:03 +03:00
[GH-ISSUE #47] Encrypting local storage causes character set issues #42
Labels
No labels
2fa
I18N
PGP
Security
Security
account
advanced_search
advanced_search
announcement
api_login
authentication
awaiting feedback
blocker
bug
bug
bug
calendar
config
contacts
core
core
devops
docker
docs
duplicate
dynamic_login
enhancement
epic
feature
feeds
framework
github
github
gmail_contacts
good first issue
help wanted
history
history
imap
imap_folders
inline_message
installation
keyboard_shortcuts
keyboard_shortcuts
ldap_contacts
mobile
need-ssh-access
new module set
nux
pop3
profiles
pull-request
question
refactor
release
research
saved_searches
smtp
strategic
tags
tests
themes
website
wordpress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cypht#42
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 @jasonmunro on GitHub (Mar 16, 2016).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/47
Originally assigned to: @jasonmunro on GitHub.
for some reason using the forge.js encryption on a value stored in local storage causes the decrypted value to have incorrect character encoding. It's likely not a bug in forge itself but something we are doing incorrectly. I added a comment to the ini file that this setting is experimental and should be avoided for now. The problem appears to be triggered when a string with a non-ascii character is pulled from the DOM using zepto then stored in the local storage. Open retrieval non-ascii chars are munged.
@jasonmunro commented on GitHub (Aug 30, 2016):
I fixed this issue by using forge to utf-8 encode and decode the encrypted value. I will remove the warning in the ini file if it turns out to be a solid long term fix.