Friday, June 01, 2018

Re: Nextcloud - cert validataion in chroot

On Fri, Jun 01, 2018 at 09:03:08PM +0100, Stuart Henderson wrote:
> On 2018/06/01 15:35, Daniel Jakots wrote:
> > On Fri, 1 Jun 2018 18:46:25 +0100, Stuart Henderson
> > <stu@spacehopper.org> wrote:
> >
> > > Thanks - this is a common problem with many PHP apps rather than being
> > > specific to nextcloud/owncloud. Rather than repeating it all over the
> > > place I've just added a section to the pkg-readme for PHP that
> > > explains this.
> >
> > Great! Would you mind documenting the creation of *random devices?
>
> Hmm, what uses these? I've not run into anything, and if there is,
> it really should be using random_bytes / random_int in 7.x, or the
> random_compat polyfill + one of the other sources (preferably
> libsodium) for 5.x ...

Nextcloud complains in its admin panel if it cannot find this
device node... I haven't checked if the device node is actually
used but adding it on an mfs was an easy quick solution.

If this is not a common issue among PHP apps, adding a hint to
nextcloud's README file should be sufficient.

No comments:

Post a Comment