Bug 1250113
Summary: | coreutils doesn't include a base32 binary | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nikos Mavrogiannopoulos <nmavrogi> | ||||||
Component: | coreutils | Assignee: | Kamil Dudka <kdudka> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 24 | CC: | admiller, kdudka, kzak, ovasik, p, twaugh | ||||||
Target Milestone: | --- | Keywords: | FutureFeature, Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | coreutils-8.25-2.fc24 | Doc Type: | Enhancement | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-05-11 16:09:29 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Nikos Mavrogiannopoulos
2015-08-04 14:30:06 UTC
Maybe. Please discuss upstream at coreutils though. See also related discussion at: http://lists.gnu.org/archive/html/bug-coreutils/2010-04/msg00195.html Note for URL encoding, base64 is almost perfect and could be tweaked like: b64_url_encode() { base64 | tr '+/=' '-_.'; } b64_url_decode() { tr -- '-_.' '+/=' | base64 -d; } I would expect the maintainers of coreutils to talk upstream. I could help if required. Nikos, for Fedora, it is better if you will discuss this RFE upstream, as you will likely better defend it. And there are many todo tasks... so with patch chances are even higher. Without your proposal upstream and/or patch, I can only put this to the long term todo list. btw. Pádraig Brady is one of Fedora co-maintainers and upstream (nowadays primary) maintainer. Created attachment 1059379 [details] base32 program This patch adds the base32 program. The need for such a program is because base32 is increasingly used in URLs and QR codes and we have no simple tool to generate such codes. In particular I noticed there were no command line tools to generate otpauth codes as in: https://github.com/google/google-authenticator/wiki/Key-Uri-Format Created attachment 1059388 [details]
base32 program
Please implement like sha1sum. I.E. reuse base64.c. See src/local.mk for details. Then please post to coreutils. Thanks. Thanks Pádraig and Nikos! Upstream proposal: http://lists.gnu.org/archive/html/coreutils/2015-09/msg00000.html This seems to be already fixed since coreutils-8.25-2.fc24. |