sn.exe delay signing

S

Sunny

Hi,
is this expected behaviour:

I have created a delaysigned assemblies.

After that I signed them with sn -R. But what surprises me is that the
file time stamp is not changed, even the file was.

Is this normal? I would expect to know that the file is altered at
different time, why sn.exe is not updating the time stamp?

Sunny
 
P

Peter Huang

Hi Sunny,

Now I am researching the issue, and I will get back here and update you
with new information ASAP.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang

Hi Sunny,

Sorry for delay response.
I have consulted our product team, Sn.exe -R (and sn.exe -Rc) resign an
assembly so they do indeed change the signature. However, sn.exe uses the
file mapping APIs to directly write into the PE image so the timestamp does
not get modified during that process.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 
P

Peter Huang

Hi Sunny,

Yes, this is by design and it should be the intended behavior.

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top