RocketChat / RocketChat/Rocket.Chat

hipchat import should support encrypted tar.gz as the default format

Open
#12,106 3 comments 0 reactions 1 assignee View on GitHub

@pierre-lehnen-rc is already working on this.

Since Mar 19, 2020.

feat: import triaged type: improvement
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

hipchat importer asks for zip files as input. however, hipchat produces tar.gz as input by default. this makes for a high degree of inconvenience.

In addition, hipchat is mandatorily encrypting its tar.gz using aes - it would be super convenient if you guys could take a password and take the encrypted file itself.

the command to decrypt is

openssl aes-256-cbc -d -in hipchat-124688-2018-09-19_18-28-04.tar.gz.aes -out hipchat-124688-2018-09-19_18-28-04.tar.gz -pass pass:somepassword -md md5

do note that the commandline given in the helpfiles is incorrect because it does not specify md5. it so happens that hipchat is using an old version of openssl to encrypt (that uses md5 by default) and since then it has been changed to sha256. so if you are using on a newer linux laptop, that command will error out.

https://git.openssl.org/?p=openssl.git;a=commit;h=9e8b6f042749ded556380227c9f2db7ffad9a3aa

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.