aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: a17b169c30463563c88048153b87a14162afa213 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# lpass
A simple implementation of
[lesspass](https://github.com/lesspass/lesspass) in C.

# Memory safety disclaimers
This implementation only uses dynamic memory allocation as implemented
within OpenSSL to handle big integers (`BIGNUM` in OpenSSL lingo). All
allocations should be checked for success (non-`NULL`), please send a
patch if you find that this is not the case. The same is true for the
status of OpenSSL functions that return a status code.

String manipulation is done only on statically-allocated strings,
while also using the versions whose limits can be specified (e.g.,
`snprintf` versus `sprintf` and `strncpy` versus `strcpy`).

This code uses variable-length array declarations for simplicity.

# Dependencies
A recent version of OpenSSL.