1 Star 0 Fork 0

deepin-community / deepin-pw-check

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
dengbo 提交于 2022-10-12 18:21 . chore: add license information

deepin-pw-check

deepin-pw-check is a tool to verify the validity of the password.

dependencies

You can also check the "Depends" provided in the debian/control file.

build dependencies

You can also check the "Build-Depends" provided in the debian/control file.

Installation

Build from source code

  1. Make sure you have installed all dependencies.

  2. Build:

$ cd deepin-pw-check
$ make
  1. Install:
$ sudo make install

The executable binary file could be found at /usr/lib/deepin-pw-check after the installation is finished.

Usage

#include <deepin_pw_check.h>
#include <stdio.h>
int main() {
    PW_ERROR_TYPE ret = deepin_pw_check("test", "123", LEVEL_STANDARD_CHECK, NULL);
    if (ret != PW_NO_ERR) {
        printf("deepin_pw_check err: %s\n", err_to_string(ret));
    }
    return 0;
}

Getting help

You may find these channels useful if you encounter any other issues:

Getting involved

We encourage you to report issues and contribute changes

License

deepin-pw-check is licensed under GPL-3.0-or-later.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/deepin-community/deepin-pw-check.git
git@gitee.com:deepin-community/deepin-pw-check.git
deepin-community
deepin-pw-check
deepin-pw-check
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891