7 Commits

Author SHA1 Message Date
Matthias Schiffer
f1f65026a9
Always pad fingerprints to 16 characters
Fingerprints were not padded with zeros. This led to a ucert failure
when the first byte of the fingerprint is 00, as it expects the
fingerprint to have a constant length (and this expectation seems
reasonable to me).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Acked-by: Jo-Philipp Wich <jo@mein.io>
2020-05-23 13:33:37 +02:00
Hauke Mehrtens
f34a383eee main: fix some resource leaks
This fixes some resources leaks mostly in error patches.

Coverity: #1330236, #1330237, #1330238
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2019-09-20 21:37:40 +02:00
Heinrich Schuchardt
939ec353c8 usign: main.c: describe necessary arguments for -G
Generation of keys requires -p and -s.
The usage help should indicate this.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-10-16 09:03:45 +02:00
Felix Fietkau
3f3aeceb15 fix accidental swapping of public vs private key comment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-12-17 17:06:27 +01:00
Felix Fietkau
24f880d718 base64: sync with libubox modifications
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-04-19 12:38:05 +02:00
Felix Fietkau
395369a223 add support for overriding the comment data
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-04-06 17:13:58 +02:00
Felix Fietkau
8a974da5e1 Initial import
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-04-06 16:00:52 +02:00