Для AltLinux планируется к сертификации CSP 3.6. Скачать можно отсюда:
ftp://www.cryptopro.ru/p...6/2008-06-19/linux-ia32/ , обратите внимание на errata.txt.
У меня в 3.6 такие действия проходят без ошибок:
linux:/usr/CPROcsp/bin # rpm -qa |grep cpcsp
cpcsp-rdr-3.6.4-5
cpcsp-3.6.4-5
cpcsp-capilite-3.6.4-5
linux:/usr/CPROcsp/bin # useradd -d /home/test -s /bin/false -c "test user" test
linux:/usr/CPROcsp/bin # sudo -u test ./csptest -keyset -info
CSP (Type:71) v3.6.4070 KC1 Release Ver:3.6.4873 OS:Linux CPU:IA32 FastCode:READY,ENABLED.
CSP (Type:75) v3.6.4070 KC1 Release Ver:3.6.4873 OS:Linux CPU:IA32 FastCode:READY,ENABLED.
AcquireContext: OK. HCRYPTPROV: 135607312
GetProvParam(PP_NAME): Crypto-Pro GOST R 34.10-2001 KC1 CSP
Container name: "12345678"
Signature key is available. HCRYPTKEY: 0x8163588
Exchange key is available. HCRYPTKEY: 0x81623b8
CSP algorithms info:
Type:Encrypt Name:'GOST 28147-89'(14) Long:'GOST 28147-89'(14)
DefaultLen:256 MinLen:256 MaxLen:256 Prot:0 Algid:00026142
Type:Hash Name:'GOST R 34.11-94'(16) Long:'GOST R 34.11-94'(16)
DefaultLen:256 MinLen:256 MaxLen:256 Prot:0 Algid:00032798
Type:Hash Name:'HMAC GOST 28147-89'(19) Long:'HMAC GOST 28147-89'(19)
DefaultLen:32 MinLen:32 MaxLen:32 Prot:0 Algid:00032799
Type:Signature Name:'GOST R 34.10-01'(16) Long:'GOST R 34.10-01'(16)
DefaultLen:512 MinLen:512 MaxLen:512 Prot:0 Algid:00011811
Type:Exchange Name:'Diffie-Hellman EL'(18) Long:'Diffie-Hellman EL'(18)
DefaultLen:512 MinLen:512 MaxLen:512 Prot:0 Algid:00043556
Type:Exchange Name:'Diffie-Hellman EL'(18) Long:'Diffie-Hellman EL'(18)
DefaultLen:512 MinLen:512 MaxLen:512 Prot:0 Algid:00043557
Key pair info:
HCRYPTKEY: 0x8163588
AlgID: CALG_GR3410EL = 0x00002e23 (00011811):
AlgClass: ALG_CLASS_SIGNATURE
AlgType: ALG_TYPE_GR3410
AlgSID: 35
Key pair info:
HCRYPTKEY: 0x81623b8
AlgID: CALG_DH_EL_SF = 0x0000aa24 (00043556):
AlgClass: ALG_CLASS_KEY_EXCHANGE
AlgType: ALG_TYPE_DH
AlgSID: 36
Everything is OK.
Keys in container:
signature key
exchange key
Total:
[ErrorCode: 0x00000000]