Skip to content

Commit 7f64d96

Browse files
author
Alexey Abel
committed
Add hints in README.md
1 parent ece08b5 commit 7f64d96

File tree

4 files changed

+19
-228
lines changed

4 files changed

+19
-228
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.5.1] - 2024-05-01
9+
10+
### Fixed
11+
12+
* Remove .git files from release archive which were kept by accident.
13+
* Add `db_password_file` example and hint about mandatory db keys for socket configuration to README.md.
14+
815
## [1.5.0] - 2024-04-30
916

1017
### Added

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ This app has no user interface. All configuration is done via Nextcloud's system
4747
//'db_port' => '5432',
4848
'db_name' => 'theNameOfYourUserDatabase',
4949
'db_user' => 'yourDatabaseUser',
50-
'db_password' => 'thePasswordforTheDatabaseUser',
50+
'db_password' => 'thePasswordForTheDatabaseUser',
51+
//'db_password_file' => '/var/secrets/fileContainingThePasswordForTheDatabaseUser',
5152
//'mariadb_charset' => 'utf8mb4',
5253
'queries' => array(
5354
'get_password_hash_for_user' => 'SELECT password_hash FROM users_fqda WHERE fqda = :username',
@@ -88,6 +89,9 @@ that *User Backend SQL Raw* will connect to.
8889
* Not more than 100 characters of the first line are read.
8990
* Whitespace-like characters are [stripped](https://www.php.net/manual/en/function.trim.php) from
9091
the beginning and end of the read password.
92+
* If you specify a socket as `db_host` (only for PostgreSQL), you need to put
93+
dummy values for the mandatory values, although they are not required for the
94+
socket connection. This will be fixed in a future release.
9195

9296
### 2. SQL Queries
9397

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ In contrast to the app *SQL user backend*, you write the SQL queries yourself. Y
1414
The app uses prepared statements and is written to be secure by default to prevent SQL injections. It understands the most popular standards for password hash formats: MD5-CRYPT, SHA256-CRYPT, SHA512-CRYPT, BCrypt and the state-of-the-art Argon2i and Argon2id. Because the various formats are recognized on-the-fly your db can can have differing hash string formats at the same time, which eases migration to newer formats.
1515
1616
This app supports PostgreSQL and MariaDB/MySQL.]]></description>
17-
<version>1.5.0</version>
17+
<version>1.5.1</version>
1818
<licence>agpl</licence>
1919
<author mail="dev@abelonline.de" >Alexey Abel</author>
2020
<namespace>UserBackendSqlRaw</namespace>

0 commit comments

Comments
 (0)