71 lines
1.4 KiB
ReStructuredText
71 lines
1.4 KiB
ReStructuredText
==============
|
|
pilight-sha256
|
|
==============
|
|
|
|
Generate a pilight SHA-256 hash for a password
|
|
----------------------------------------------
|
|
|
|
:Date: 2017
|
|
:Copyright: MPLv2
|
|
:Version: 7.0
|
|
:Manual section: 1
|
|
:Manual group: pilight 7.0 man pages
|
|
|
|
SYNOPSIS
|
|
========
|
|
|
|
| ``pilight-send`` --password PASSWORD
|
|
|
|
DESCRIPTION
|
|
===========
|
|
|
|
``pilight-sha256`` is a tool to generate a SHA-256 hash for a webgui password to avoid storing cleartext passwords in configuration files.
|
|
|
|
The hash can be added to config.json under "settings" - "webserver-password". Consult the pilight manual <https://manual.pilight.org/> for configuration details.
|
|
|
|
Prints the hashed PASSWORD to STDOUT.
|
|
|
|
OPTIONS
|
|
=======
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
|
|
|
|
|
| ``-H``, ``--help``
|
|
| Print allowed options and exit
|
|
|
|
|
| ``-V``, ``--version``
|
|
| Print version information and exit
|
|
|
|
|
| ``-p``, ``--password=PASSWORD``
|
|
| Password to hash
|
|
|
|
BUGS
|
|
====
|
|
|
|
Please report all bugs on GitHub <https://github.com/pilight/pilight/>.
|
|
|
|
AUTHOR
|
|
======
|
|
|
|
Curlymo <info@pilight.org> and contributors.
|
|
|
|
This man page was originally written by pilino1234 <pilino1234@zoho.eu>.
|
|
|
|
WWW
|
|
===
|
|
|
|
https://www.pilight.org/
|
|
|
|
SEE ALSO
|
|
========
|
|
|
|
| ``pilight-control``
|
|
| ``pilight-daemon``
|
|
| ``pilight-debug``
|
|
| ``pilight-flash``
|
|
| ``pilight-raw``
|
|
| ``pilight-receive``
|
|
| ``pilight-send``
|
|
| ``pilight-uuid``
|