From ca1cc5282342206a063073282fd4647271839d67 Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Mon, 4 Jan 2021 14:49:13 -0600 Subject: [PATCH 1/8] Revert "Add zlib extension to requirements" --- INSTALL.md | 1 - 1 file changed, 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 39cfbcb..5d10551 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -21,7 +21,6 @@ options](#configuration) to adjust as you see fit. Mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file. - GD extension -- zlib extension - some disk space or (optionally) a database supported by [PDO](https://secure.php.net/manual/book.pdo.php) - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with javascript support From e02816b1a4df2ea9031cefa05dd87d9984ec7abe Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Mon, 4 Jan 2021 14:52:44 -0600 Subject: [PATCH 2/8] Database --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 5d10551..21e0bfe 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -21,7 +21,7 @@ options](#configuration) to adjust as you see fit. Mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file. - GD extension -- some disk space or (optionally) a database supported by [PDO](https://secure.php.net/manual/book.pdo.php) +- some disk space or (optionally) a MySQL or SQLite database - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with javascript support From f6850a90e47994db16dbd2cf9ec286951bb3ebf6 Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Mon, 4 Jan 2021 14:55:36 -0600 Subject: [PATCH 3/8] Spelling --- INSTALL.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 21e0bfe..8d307a5 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -23,7 +23,7 @@ options](#configuration) to adjust as you see fit. - GD extension - some disk space or (optionally) a MySQL or SQLite database - ability to create files and folders in the installation directory and the PATH defined in index.php -- A web browser with javascript support +- A web browser with JavaScript support ## Hardening and security @@ -74,7 +74,7 @@ Note that your PHP process will need read access to the config wherever it may b ### Transport security When setting up PrivateBin, also set up HTTPS, if you haven't already. Without HTTPS -PrivateBin is not secure, as the javascript files could be manipulated during transmission. +PrivateBin is not secure, as the JavaScript files could be manipulated during transmission. For more information on this, see our [FAQ entry on HTTPS setup](https://github.com/PrivateBin/PrivateBin/wiki/FAQ#how-should-i-setup-https). ### File-level permissions From 5b736084e23aee20e64757314220a6a34f7a1f34 Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Mon, 4 Jan 2021 14:57:25 -0600 Subject: [PATCH 4/8] Update INSTALL.md --- INSTALL.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 8d307a5..a7ddea6 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -11,15 +11,12 @@ options](#configuration) to adjust as you see fit. ### Minimal requirements -- PHP version 5.6 or above -- _one_ of the following sources of cryptographically safe randomness is required: - - PHP 7 or higher - - [Libsodium](https://download.libsodium.org/libsodium/content/installation/) and it's [PHP extension](https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium) - - open_basedir access to `/dev/urandom` - - mcrypt extension - - com_dotnet extension - - Mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file. +- PHP version 7.0 or above + - Or PHP version 5.6 AND _one_ of the following sources of cryptographically safe randomness: + - [Libsodium](https://download.libsodium.org/libsodium/content/installation/) and it's [PHP extension](https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium) + - open_basedir access to `/dev/urandom` + - mcrypt extension (mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file.) + - com_dotnet extension - GD extension - some disk space or (optionally) a MySQL or SQLite database - ability to create files and folders in the installation directory and the PATH defined in index.php From e5f69cb497864ecba30cd6956250359ff90f1a7d Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Mon, 4 Jan 2021 15:51:30 -0600 Subject: [PATCH 5/8] Add PostgreSQL --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index a7ddea6..6c01c60 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,7 +18,7 @@ options](#configuration) to adjust as you see fit. - mcrypt extension (mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file.) - com_dotnet extension - GD extension -- some disk space or (optionally) a MySQL or SQLite database +- some disk space or (optionally) a MySQL, PostgreSQL or SQLite database - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with JavaScript support From 8f069a52d2e9a2fa5d7d3a2b2ad74ff508c59c7d Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Tue, 5 Jan 2021 06:43:00 -0600 Subject: [PATCH 6/8] Sorry --- INSTALL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/INSTALL.md b/INSTALL.md index 6c01c60..e008a13 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -18,6 +18,7 @@ options](#configuration) to adjust as you see fit. - mcrypt extension (mcrypt needs to be able to access `/dev/urandom`. This means if `open_basedir` is set, it must include this file.) - com_dotnet extension - GD extension +- zlib extension - some disk space or (optionally) a MySQL, PostgreSQL or SQLite database - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with JavaScript support From 3248ee99e921be62494b8f5f7ec852973a013aae Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Tue, 5 Jan 2021 09:39:15 -0600 Subject: [PATCH 7/8] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index e008a13..9bc7705 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,7 +19,7 @@ options](#configuration) to adjust as you see fit. - com_dotnet extension - GD extension - zlib extension -- some disk space or (optionally) a MySQL, PostgreSQL or SQLite database +- some disk space or (optionally) an SQL database - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with JavaScript support From 913d37a6632241c98067324fbf7b4cabe1be080a Mon Sep 17 00:00:00 2001 From: techboyg5 <63317676+techboyg5@users.noreply.github.com> Date: Tue, 5 Jan 2021 09:39:51 -0600 Subject: [PATCH 8/8] Update INSTALL.md --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 9bc7705..0b2de4e 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -19,7 +19,7 @@ options](#configuration) to adjust as you see fit. - com_dotnet extension - GD extension - zlib extension -- some disk space or (optionally) an SQL database +- some disk space or (optionally) a database supported by [PDO](https://php.net/manual/book.pdo.php) - ability to create files and folders in the installation directory and the PATH defined in index.php - A web browser with JavaScript support