Skip to content

Refactoring: Crypto wrapper and TLS check

Vojtech Myslivec requested to merge refactor into master
  • Use crypto-wrapper instead atsha204cmd
    • This will change dependency from libatsha204 to crypto-wrapper
  • Force check of the smtp server certificate
    • This will add dependency on ca-certificates
  • Refactor the script a bit

Proposed turris/turris-os-packages> patch is:

diff --git a/cznic/user-notify/Makefile b/cznic/user-notify/Makefile
index 3e114de43..587bc78b8 100644
--- a/cznic/user-notify/Makefile
+++ b/cznic/user-notify/Makefile
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define Package/user-notify
        TITLE:=user-notify
-       DEPENDS:=+at +msmtp +create_notification
+       DEPENDS:=+at +msmtp +ca-certificates +crypto-wrapper +create_notification
 endef
 
 define Build/Compile

Still works only for Turris 1.x and Omnia

Edited by Vojtech Myslivec

Merge request reports