osslsigncode icon indicating copy to clipboard operation
osslsigncode copied to clipboard

Allow specifying blob contents when using -addUnauthenticatedBlob

Open tyilo opened this issue 1 year ago • 3 comments

Instead of just adding the blob ---BEGIN_BLOB---...---END_BLOB--- which can then be replaced with another script, I think it would be more useful if we could specify the contents of the blob.

Something like

$ echo foo > blob.txt
$ osslsigncode add -addUnauthenticatedBlob blob.txt -in foo.exe -out foo-blob.exe

tyilo avatar Jun 21 '24 13:06 tyilo

Would you submit a PR?

mtrojnar avatar Jun 21 '24 17:06 mtrojnar

Would you submit a PR?

I'm going on vacation so it might be a while, but after that sure.

Do you think it is ok to make -addUnauthenticatedBlob require a path?

tyilo avatar Jun 21 '24 18:06 tyilo

Do you think it is ok to make -addUnauthenticatedBlob require a path?

Your PR should not break any existing scripts that invoke osslsigncode, so -addUnauthenticatedBlob should not require a path.

mtrojnar avatar Jun 22 '24 14:06 mtrojnar

Reimplemented in #404

mtrojnar avatar Sep 04 '24 15:09 mtrojnar