[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

SV: [SIGNATUR] Korrekte navne i signaturen (æøå)



E. Sjørlund skrev 16. februar 2002 19:08

Den "navn.pem" fil der oprettes af programmet
<start>
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,CD7CA24F080B5549
jCRn.. (ca 1024 bytes sludder) ..AeM5UVZvg==
-----END RSA PRIVATE KEY-----
<slut>
Skal den være af den Proc-Type og DEK-Info eller kan der vælges andre
løsninger?

Svar:
PEM filen er den private nøgle, som er beskyttet med kryptering og
adgangskode. Der ligger ingen standardiseringskrav her, da det er samme
program, der skal hente nøglen ud igen senere. Derfor har vi valgt at buge
et kald i OpenSSL til at laver denne fil. 
Her er kaldet:
PEM_write_PrivateKey(fpKey,	// FILE*
			   pKey, 	// EVP_PKEY*
			   EVP_des_ede3_cbc(), // Choose 3DES encryption
			   (unsigned char*) sPwd.c_str(), // Password
			   sPwd.length(), // Password length
			   NULL,
			   NULL);

Generelt kan man sige at nøglen i hvert fald skal beskyttes med stærk
kryptering.
Mvh Jørn




 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:33 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *