keybase / keybase/keybase-issues

saltpack armored messages - line wrap at 3200 chars

Open
#2,240 0 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

Hi,

saltpack armored messages usually don't do line wraps when the message is short or with long messages it wraps at 3200 characters. A Usenet friend of mine suggested the following Perl
one-liner to have nicely formatted saltpack messages.

perl -pe 's/./.\n/g' | fmt -s | perl -pe 's/^ //'

Maybe worth considering to have the same feature in saltpack or keybase's implementation,
to obtain nicely formatted messages.

Regards
Stefan

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no repository files, tests, or entry points. Start by locating the saltpack armored-message implementation and clarify the desired wrapping behavior and compatibility requirements; done should include an agreed formatting rule and tests covering the resulting line breaks.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.