summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-05crypt_sha256: fixed boundary problemAndi Shyti
this referring to a wrong array position and the SHA256 encryption was calculated wrong Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-05crypt_sha256: removed unused codeAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-05crypt_sha256: some sparse fixesAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-03crypt_sha256: strings should be treated as unsigned charAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-03crypt_sha256: fixed lenght password allocationAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-03encrypt_sha256: removed password length check in the encryption passwordAndi Shyti
The length check is demanded to the get password function Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-03accman: added function get passwordAndi Shyti
the get_passwd function performs the following operations: - gets the password - checks if the lenght is greater than 64 or lower than 8, if so, fails - asks for the confirmation - encrypts it in SHA256 - returns the encrypted password Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-03accman: removed superfluous printfAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-02Makefile: added uninstall optionAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-02Makefile: added install optionAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-02COPYING: added license GPLv2Andi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>
2012-09-02accman: git repo createdAndi Shyti
Signed-off-by: Andi Shyti <andi@etezian.org>