Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pass Checker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tetras-libre
Pass Checker
Commits
30105143
Unverified
Commit
30105143
authored
8 years ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Readme up and apache2 conf
parent
d998a898
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Readme.md
+54
-8
54 additions, 8 deletions
Readme.md
apache2/passchecker.conf
+26
-0
26 additions, 0 deletions
apache2/passchecker.conf
with
80 additions
and
8 deletions
Readme.md
+
54
−
8
View file @
30105143
#
Tetras Pass
#
Pass Checker
## Installation
**TODO**
### Pé requis
## Utilisation
Installez pip3, sur debian / ubuntu / mint :
`sudo apt-get install python3-pip`
### Installation simple
1.
Clonez ce dépot:
git clone https://gitlab.tetras-libre.fr/tetras-libre/PasswordTester passchecker
2.
Installez le logiciel
cd passchecker
sudo pip3 install -e .
### Installation web (derrière un proxy apache)
1.
Clonez ce dépot dans /var/www:
git clone https://gitlab.tetras-libre.fr/tetras-libre/PasswordTester passchecker
2.
Installez le logiciel
**TODO**
cd passchecker
sudo pip3 install -e .
### Console
3.
Donnez les droits à l'utilisateur www-data
**TODO**
chown -R www-data: /var/www/passcheker
4.
Copiez et lancez le service systemd
cp /var/www/passcheker/service/passchecker.service /etc/systemd/system
systemctl daemon-reload
systemctl start passchecker
5.
Copiez et adaptez fichier apache2:
cp /var/www/passcheker/apache2/passchecker.conf /et/apache2/sites-available
a2ensite passchecker.conf
apachectl restart
## Utilisation
### Ligne de commande :
Tapez
`passchecker`
et suivez les instructions
### Web
**TODO**
Lancez
`passchecker --web`
puis ouvrez votre navigateur sur la page
[
indiquée
](
http://localhost:8842/cgi-bin/index.py
)
et suivez les indications.
### Avancés
Pour des reglagesavancé, voir
`passchecker --help`
## Todo
...
...
@@ -31,11 +76,12 @@
+
[X] Packages
+
[X] Installeur
+
[X] Service systemd
+
[X] Site apche2
+
[ ] Tests
## Licences
[
Tetra Pass
](
https://gitlab.tetras-libre.fr/tetras-libre/
tetras-pass
)
est Logiciel développé par
[
Pass Checker
](
https://gitlab.tetras-libre.fr/tetras-libre/
PasswordTester
)
est Logiciel développé par
[
Tetras Libre
](
http://tetras-libre.fr
)
,
distribué sous Licence
[
AGPL
](
https://www.gnu.org/licenses/agpl.html
)
V3.0.
...
...
This diff is collapsed.
Click to expand it.
apache2/passchecker.conf
0 → 100644
+
26
−
0
View file @
30105143
<
VirtualHost
*>
ServerAdmin
<
ADMIN
>
ServerName
passchecker
.<
FQDN
>
ServerSignature
Off
CustomLog
/
var
/
log
/
apache2
/
passchecker_access
.
log
combined
ErrorLog
/
var
/
log
/
apache2
/
passchecker_error
.
log
ErrorLog
syslog
:
local2
RewriteEngine
On
RewriteRule
^/$ /
cgi
-
bin
/
index
.
py
[
L
,
R
=
301
]
RewriteRule
^$ /
cgi
-
bin
/
index
.
py
[
L
,
R
=
301
]
<
IfModule
mod_proxy
.
c
>
ProxyVia
On
ProxyRequests
Off
ProxyPass
/
http
://
localhost
:
8842
/
ProxypassReverse
/
http
://
localhost
:
8842
/
ProxyPreserveHost
on
<
Proxy
*>
Options
FollowSymLinks
MultiViews
AllowOverride
All
Order
allow
,
deny
allow
from
all
</
Proxy
>
</
IfModule
>
</
VirtualHost
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment