1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/package/utils
Hauke Mehrtens 6aad5ab099 px5g-wolfssl: Fix permission of private key
Store the private key with read and write permission for the user only
and not with read permissions for everyone. This converts the
write_file() function from fopen() to open() because open allows to
specify the permission mask of the newly created file. It also adds and
fixes some existing error handling.

OpenSSL does this in the same way already.

With this change it looks like this:
root@OpenWrt:/# ls -al /etc/uhttpd.*
-rw-r--r--    1 root     root           749 Nov  6 23:14 /etc/uhttpd.crt
-rw-------    1 root     root           121 Nov  6 23:14 /etc/uhttpd.key

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-11-07 21:55:55 +01:00
..
adb packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
bcm27xx-userland treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
bcm4908img
bsdiff bsdiff: Add patches for CVEs 2023-10-09 23:42:37 +02:00
busybox busybox: update to 1.36.1 2023-05-22 20:55:33 +02:00
bzip2
checkpolicy checkpolicy: update to 3.5 2023-05-18 10:14:13 +02:00
ct-bugcheck
dtc packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
e2fsprogs e2fsprogs: do not symlink tune2fs to findfs 2023-07-08 16:51:17 +02:00
f2fs-tools f2fs-tools: update to 1.16.0 2023-05-19 12:07:14 +02:00
fbtest
firmware-utils firmware-utils: add missing build dependencies 2023-06-01 23:54:20 +02:00
fritz-tools fritz-tools: fix segfault in caldata-extract 2023-03-02 17:04:28 +01:00
jboot-tools
jsonfilter
lua lua: opt-out of lto usage 2023-10-29 19:42:32 +01:00
lua5.3 packages: assign PKG_CPE_ID for all missing packages 2023-09-19 20:21:13 +02:00
mdadm mdadm: fix compilation with musl 1.2.4 2023-05-16 22:54:29 +02:00
mtd-utils mtd-utils: update to 2.1.6 2023-10-25 16:16:42 +02:00
nvram bcm53xx: Linksys EA9200 nvram and 02_network fixes 2023-10-22 11:11:43 +02:00
osafeloader
policycoreutils policycoreutils: update to 3.5 2023-05-18 10:14:13 +02:00
px5g-mbedtls px5g-mbedtls: Fix permission of private key 2023-11-07 21:55:55 +01:00
px5g-wolfssl px5g-wolfssl: Fix permission of private key 2023-11-07 21:55:55 +01:00
ravpower-mcu
secilc secilc: update to 3.5 2023-05-18 10:14:13 +02:00
spidev_test sdk: add spidev-test to the bundle of userspace sources 2022-07-17 14:19:21 +02:00
ucode ucode: update to latest Git HEAD 2023-11-02 10:52:36 +01:00
ucode-mod-bpf ucode-mod-bpf: add new package for a ucode libbpf binding 2023-01-09 11:35:20 +01:00
uencrypt uencrypt: split common and library-specific code 2023-03-17 17:22:54 -03:00
ugps ugps: update to latest HEAD, introduce baudrate 2023-07-26 14:28:09 +02:00
usbmode
util-linux util-linux: update to 2.39.2 2023-10-11 08:08:36 +02:00
yafut yafut: add missing PKG_MIRROR_HASH 2023-10-02 22:13:10 +02:00
zyxel-bootconfig mediatek: add support for ZyXEL NWA50AX Pro 2023-07-21 20:28:13 +02:00