keybase / keybase/keybase-issues

Cannot encode/decode UTF-8

Open
#117 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Over the command line this fails, however doing this over the web interface this passes.

```
-> % cat snowman
Do you wanna build a ☃? Come on lets go and play I never see you anymore Come out the door It's like you've gone away- We used to be best buddies And now we're not I wish you would tell me why. Do you wanna build a ☃? It doesn't have to be a ☃..
```

```
-> % keybase encrypt -s blainesch snowman
You need a passphrase to unlock the secret key for
user: "keybase.io/blainesch "
4096-bit RSA key, ID 8B595CB9, created 2014-03-06 (main key ID 524B1779)
```

```
-> % keybase decrypt snowman.asc
You need a passphrase to unlock the secret key for
user: "keybase.io/blainesch "
4096-bit RSA key, ID E98BE3788B595CB9, created 2014-03-06
(subkey on main key ID 763CCD80524B1779)

Do you wanna build a ☃? Come on lets go and play I never see you anymore Come out the door It's like you've gone away- We used to be best buddies And now we're not I wish you would tell me why. Do you wanna build a ☃? It doesn't have to be a ☃..

info: Valid signature from you
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the command-line `keybase encrypt` and `keybase decrypt` commands using the provided `snowman` text, then compare this with the web-interface behavior. Done means UTF-8 characters such as the snowman survive CLI encryption and decryption without mojibake, while the valid signature remains intact.

Written by the indexing model from the issue text.

Assessment

Domain
cli, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.