Where is the strong name key password stored?

前端 未结 1 864
时光取名叫无心
时光取名叫无心 2021-02-07 07:49

I don\'t usually bother with signing my .NET assemblies, so I don\'t know much beyond the basic mechanics of it. For a small project I\'m working on, it was necessary to sign, a

1条回答
  •  北荒
    北荒 (楼主)
    2021-02-07 08:44

    See the documentation for the Create Strong Name Key Dialog Box.

    The password information is stored in your computer's cryptographic storage database.

    Other information from CLR Inside Out: Using Strong Name Signatures.

    You can install the private key in a key container using restrictive access control lists (ACLs) to prevent unauthorized access to the key container. Alternatively, you can store the private key on a smart card or other separate hardware device. The sn.exe tool allows you to use a different cryptographic service provider (CSP) for signing. Take a look at the –c option in the documentation for sn.exe.

    0 讨论(0)
提交回复
热议问题