File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,13 @@ $(SUIT_MANIFEST): $(SUIT_MANIFEST_PAYLOADS) $(BINDIR_SUIT)
5656$(SUIT_MANIFEST_SIGNED ) : $(SUIT_MANIFEST ) $(SUIT_SEC )
5757 $(Q ) ( \
5858 if grep -q ENCRYPTED $( SUIT_SEC_SIGN) ; then \
59- printf " Enter encryption for key file $( SUIT_SEC_SIGN) : " ; \
60- read PASSWORD; \
61- $(SUIT_TOOL ) sign -p $$ PASSWORD -k $(SUIT_SEC_SIGN ) -m $(SUIT_MANIFEST ) -o $@ ; \
59+ if [ -z " $( SUIT_SEC_PASSWORD) " ]; then \
60+ printf " Enter encryption for key file $( SUIT_SEC_SIGN) : " ; \
61+ read PASSWORD; \
62+ else \
63+ PASSWORD=" $( SUIT_SEC_PASSWORD) " ; \
64+ fi ; \
65+ $(SUIT_TOOL ) sign -p " $$ PASSWORD" -k $(SUIT_SEC_SIGN ) -m $(SUIT_MANIFEST ) -o $@ ; \
6266 else \
6367 $(SUIT_TOOL ) sign -k $(SUIT_SEC_SIGN ) -m $(SUIT_MANIFEST ) -o $@ ; \
6468 fi \
You can’t perform that action at this time.
0 commit comments