SORU
20 Mayıs 2010, PERŞEMBE


Authenticode için alternatif zaman damgası hizmetleri

Biz kod imzalama gerçekleştirmek ve tüm üretim yapılar için zaman damgası. RTM üzere olduğumuz zaman (genellikle (!) bazen ) verisign zaman damgası sunucusu ("") http://timestamp.verisign.com/scripts/timstamp.dll çevrimdışı zaman zaman gitmeye karar verir.

Herkes bu durumda ne gibi bir önerin var mı?

  • Yok zaman damgası sunucusu tarafından barındırılan olmak zorunda kök sertifika otoritesi?
  • Başka bir ağ barındırılan kullanabiliriz sunucuları zaman damgası vardır
    eğer kendi sunucusu kapalı? Verisign yerine Diğer öneriler için son derece müsaitücretsizalternatifler hoş geldin :)

CEVAP
28 AĞUSTOS 2012, Salı


300 kere max döngüler aşağıdaki toplu iş dosyası kullanın. İki bağımsız değişken bir klasör toplu iş dosyasını içeren dizini, pfx dosya ve signtool.exe vardır. %2 dosya imzalandığına tam yoludur. Visual studio sonrası bu çağrı gibi bir olay oluştur diyebilirsin "$(SolutionDir)üçüncü taraf\imza\işareti.""$(SolutionDir)üçüncü taraf\imzalama" "$(TargetPath)"bat Bu toplu iş dosyası, her tekrarında farklı bir zaman damgası sunucuları kullanmak için uyarladım. Şu anda Giden Harcamalarda, tazminat isteğinde ve başka amaçlar kullanır. Umarım bu son İmza Script ;)

@echo off    

REM crate an array of timestamp servers...
set SERVERLIST=(http://timestamp.comodoca.com/authenticode http://timestamp.verisign.com/scripts/timstamp.dll http://timestamp.globalsign.com/scripts/timestamp.dll http://tsa.starfieldtech.com)

REM sign the file...
%1\signtool.exe sign /f %1\comodo.pfx /p videodigital %2

set timestampErrors=0

for /L %%a in (1,1,300) do (

    for %%s in %SERVERLIST% do (

        REM try to timestamp the file. This operation is unreliable and may need to be repeated...
        %1\signtool.exe timestamp /t %%s %2

        REM check the return value of the timestamping operation and retry a max of ten times...
        if ERRORLEVEL 0 if not ERRORLEVEL 1 GOTO succeeded

        echo Signing failed. Probably cannot find the timestamp server at %%s
        set /a timestampErrors =1
    )

    REM wait 2 seconds...
    choice /N /T:2 /D:Y >NUL
)

REM return an error code...
echo sign.bat exit code is 1. There were %timestampErrors% timestamping errors.
exit /b 1

:succeeded
REM return a successful code...
echo sign.bat exit code is 0. There were %timestampErrors% timestamping errors.
exit /b 0

Ben de Güvenilen siteler (teşekkürler Vince) http://timestamp.comodoca.com koy. Bu önemli bir adım olabilir diye düşünüyorum. PC kök sertifikalar da güncelledim.

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • calicoJake

    calicoJake

    29 EKİM 2007
  • metagamers

    metagamers

    13 Mayıs 2006
  • TeeMayneTV

    TeeMayneTV

    27 Kasım 2010