You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/06/13 19:17:49 UTC

[GitHub] [couchdb-pkg] nickva opened a new pull request, #99: Improve /dev/random usage when generating cookies for RPM distros

nickva opened a new pull request, #99:
URL: https://github.com/apache/couchdb-pkg/pull/99

   In a low entropy environments, `/dev/random` will block, so make sure to use only as many bytes as we'll need instead of reading and discarding bytes as we did previously.
   
   Thanks to @lostnet for the `dd` idea and to @Inperpetuammemoriam for reporting the issue in https://github.com/apache/couchdb-pkg/pull/98


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-pkg] nickva merged pull request #99: Improve /dev/random usage when generating cookies for RPM distros

Posted by GitBox <gi...@apache.org>.
nickva merged PR #99:
URL: https://github.com/apache/couchdb-pkg/pull/99


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-pkg] nickva commented on pull request #99: Improve /dev/random usage when generating cookies for RPM distros

Posted by GitBox <gi...@apache.org>.
nickva commented on PR #99:
URL: https://github.com/apache/couchdb-pkg/pull/99#issuecomment-1154337877

   On CentOS 7:
   
   ```shell
   % docker run -it centos:7
   [root@5a38b2875414 /]# cookie=$(dd if=/dev/random bs=1 count=38 status=none | base64 | tr -cd [:alnum:]); echo $cookie
   tu3jbvRHeZ6eMvf3wjLUIPwSffazS5thUvn4xH9wJJLBOJF40
   ```
   
   On CentOS 8:
   ```shell
   % docker run -it centos:8
   [root@170b6bb542a1 /]# cookie=$(dd if=/dev/random bs=1 count=38 status=none | base64 | tr -cd [:alnum:]); echo $cookie
   xDDaqzgiy6RrKOkMlt6fzfY1JZ7r0UAPy8SPenvFPEOvL30NLc
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-pkg] rnewson commented on pull request #99: Improve /dev/random usage when generating cookies for RPM distros

Posted by GitBox <gi...@apache.org>.
rnewson commented on PR #99:
URL: https://github.com/apache/couchdb-pkg/pull/99#issuecomment-1168332989

   @nickva should be /dev/urandom anyway (https://www.2uo.de/myths-about-urandom/).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-pkg] Inperpetuammemoriam commented on pull request #99: Improve /dev/random usage when generating cookies for RPM distros

Posted by GitBox <gi...@apache.org>.
Inperpetuammemoriam commented on PR #99:
URL: https://github.com/apache/couchdb-pkg/pull/99#issuecomment-1154358267

   +1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [couchdb-pkg] nickva commented on pull request #99: Improve /dev/random usage when generating cookies for RPM distros

Posted by GitBox <gi...@apache.org>.
nickva commented on PR #99:
URL: https://github.com/apache/couchdb-pkg/pull/99#issuecomment-1154409953

   RPM packages were rebuilt and should be available via `yum update`
   
   [couchdb-3.2.2.4-1.el7.x86_64.rpm](https://apache.jfrog.io/artifactory/couchdb-rpm/el7/x86_64/couchdb-3.2.2.4-1.el7.x86_64.rpm)
   [couchdb-3.2.2.4-1.el8.x86_64.rpm](https://apache.jfrog.io/artifactory/couchdb-rpm/el8/x86_64/couchdb-3.2.2.4-1.el8.x86_64.rpm)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org