Skip to content

Commit

Permalink
Merge pull request #29 from PelionIoT/fix_verified_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
petedyerarm authored Oct 4, 2023
2 parents 5b8705c + f55806f commit 7892294
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Izuma Edge 2.6.1 - 3rd Oct 2023

- [Verified logging](https://developer.izumanetworks.com/docs/device-management-edge/2.6/managing/verified-logging.html) - allows you to sign the logs in the device to prevent log manipulation.
- [journald] Enabled Forward Secure Sealing (FSS) feature of systemd journal.
- To configure Izuma Edge gateway with a sealing key and to keep track of the verification key in production setup, use Pelion Edge Provisioner (PEP) tool [v2.6.0](https://github.com/PelionIoT/pelion-edge-provisioner/releases/tag/v2.6.0).
- By default, the gateway is configured **with** persistent journal logging for LMP. To disable persistent logging, set flag `VOLATILE_LOG_DIR = "yes"` in `local.conf`, and update the `Storage` in recipes-core/systemd/systemd-conf/journald.conf. Note: If you disable persistent logging, the FSS feature won't work.

6 changes: 6 additions & 0 deletions recipes-core/systemd/systemd-conf/journald.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Journal]
ForwardToSyslog=yes
RuntimeMaxUse=64M
Storage=persistent
SystemMaxUse=64M
Seal=yes
2 changes: 2 additions & 0 deletions recipes-core/systemd/systemd-conf_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SUMMARY = "adds flags to journald.conf in a similar way to the method used by systemd-conf found in the systemd bitbake recipe"
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
3 changes: 3 additions & 0 deletions recipes-core/systemd/systemd_%.bbappend
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SUMMARY = "adds gcrypt (libgcrypt) to systemd binary for forward secure sealing (ffs) journald"
PACKAGECONFIG:append = " gcrypt"

0 comments on commit 7892294

Please sign in to comment.