Package Details: cryptopro-csp-k1 5.0.13300-1

Git Clone URL: https://aur.archlinux.org/cryptopro-csp-k1.git (read-only, click to copy)
Package Base: cryptopro-csp-k1
Description: CryptoPro CSP 5.0
Upstream URL: https://cryptopro.ru/products/cryptopro-csp
Licenses: unknown
Submitter: Rogach
Maintainer: Rogach
Last Packager: Rogach
Votes: 26
Popularity: 0.004055
First Submitted: 2019-04-22 20:45 (UTC)
Last Updated: 2024-11-22 09:21 (UTC)

Pinned Comments

Rogach commented on 2019-04-22 20:47 (UTC) (edited on 2024-11-22 09:21 (UTC) by Rogach)

Ru

Тиражирование и распространение СКЗИ является деятельностью лицензируемой ФСБ России. Каждый экземпляр СКЗИ должен иметь индивидуальный номер учета. Т.е. анонимный доступ невозможен.

AUR не выполняет оба этих пункта. Поэтому перед выполнением makepkg необходимо скачивать СКЗИ самостоятельно с сайта производителя. Ссылка:

https://cryptopro.ru/sites/default/files/private/csp/50/13300/linux-amd64.tgz

Данный PKGBUILD старается следовать последней не-сертифицированной версии CSP (не RC).

En

This PKGBUILD does not automatically download CSP archive because accessing it requires logging in. Please download the archive manually and place alongside the PKGBUILD before building. Link:

https://cryptopro.ru/sites/default/files/private/csp/50/13300/linux-amd64.tgz

This PKGBUILD tracks the latest not-certified version of CSP (not RC).

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 Next › Last »

Rogach commented on 2021-01-01 19:45 (UTC) (edited on 2021-01-01 20:09 (UTC) by Rogach)

@negro Looking at the path, it seems that you are trying to install it using AUR helper (yaourt). I doubt that will work, since you need to download the CSP archive manually - use makepkg directly instead (again, don't forget to download CSP archive from https://www.cryptopro.ru/sites/default/files/private/csp/50/11823/linux-amd64.tgz).

negro commented on 2021-01-01 19:33 (UTC)

/tmp/yaourt-tmp-user/aur-cryptopro-csp-k1/./PKGBUILD: line 42: cd: /tmp/yaourt-tmp-user/aur-cryptopro-csp-k1/src/linux-amd64: No such file or directory ==> ERROR: A failure occurred in package().

как не работало, так и не работает.

Pastafarianist commented on 2020-09-06 11:33 (UTC)

Two more packages for users of certificates issued by Kontur:

Rogach commented on 2020-09-06 10:40 (UTC)

@Pastafarianist Fixed. Damn, these separately-downloaded archives are really annoying.

Re install output: I updated the install script with some changes in new version, try reinstalling (remove and install again). Most of the output is benign, but it may make sense to reinstall just in case.

Re installing only CSP: Yes, looks like it.

Re Cades archive: Thanks, good catch! I added this archive to automatically downloaded sources, now manual download is not required.

Pastafarianist commented on 2020-09-05 10:29 (UTC) (edited on 2020-09-05 12:32 (UTC) by Pastafarianist)

@Rogach you forgot to update the "direct link to sources download" in PKGBUILD and the comments with the file versions in .install :)

Installing the latest version, I get this output, presumably from the .install script. Not sure if any of this is a problem, but probably worth reporting.

Adding new reader:
Nick name: FLASH
Name device: FLASH
Adding FLASH failed

Error code:-2146435049
The specified reader is not currently available for use.

Error code:-2146893792
An internal error occurred.

Invalid license number.
/usr/lib64/pcsc
/usr/lib/pcsc
  device with same VID:PID "072F:90CC" already exists
  device with same VID:PID "072F:1204" already exists
  device with same VID:PID "072F:8201" already exists
  device with same VID:PID "072F:8202" already exists
  device with same VID:PID "072F:90DB" already exists
  device with same VID:PID "0483:ACD1" already exists
  device with same VID:PID "0A89:0025" already exists
  device with same VID:PID "0A89:0030" already exists
  device with same VID:PID "0A89:0080" already exists
  device with same VID:PID "0A89:0081" already exists
  device with same VID:PID "0A89:0060" already exists
  device with same VID:PID "24DC:0102" already exists
  device with same VID:PID "23A0:0008" already exists
  device with same VID:PID "2CE4:7479" already exists
  device with same VID:PID "072F:90CC" already exists
  device with same VID:PID "072F:1204" already exists
  device with same VID:PID "072F:8201" already exists
  device with same VID:PID "072F:8202" already exists
  device with same VID:PID "072F:90DB" already exists
  device with same VID:PID "072F:90CC" already exists
  device with same VID:PID "072F:1204" already exists
  device with same VID:PID "072F:8201" already exists
  device with same VID:PID "072F:8202" already exists
  device with same VID:PID "072F:90DB" already exists
  device with same VID:PID "0483:ACD1" already exists
  device with same VID:PID "0A89:0025" already exists
  device with same VID:PID "0A89:0030" already exists
  device with same VID:PID "0A89:0080" already exists
  device with same VID:PID "0A89:0081" already exists
  device with same VID:PID "0A89:0060" already exists
  same device "072F:90DE ACS Token - CP" already registered
  device with same VID:PID "24DC:0102" already exists
  same device "2FB0:0002 Infocrypt Token++ - CP" already registered
  same device "2FB0:0004 Infocrypt Token++ - CP" already registered
  same device "2FB0:0006 Infocrypt Token++ lite - CP" already registered
  same device "2FB0:0008 Infocrypt Token++ lite - CP" already registered
  same device "2FB0:003A Infocrypt Token++ lite - CP" already registered
  same device "2022:078A Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:016C Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:0172 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:0226 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:078A Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:016C Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:0172 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:0226 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2A0C:0001 MultiSoft ltd. SCR2 - CP" already registered
  device with same VID:PID "23A0:0008" already exists
  same device "1FC9:7479 ISBC ESMART reader - CP" already registered
  device with same VID:PID "2CE4:7479" already exists
  same device "04D8:003F zis-group PRIVATE Security System Key" already registered
  device with same VID:PID "072F:90CC" already exists
  device with same VID:PID "072F:1204" already exists
  device with same VID:PID "072F:8201" already exists
  device with same VID:PID "072F:8202" already exists
  device with same VID:PID "072F:90DB" already exists
  same device "0483:ACD1 Ancud Crypton SCR/RNG - CP" already registered
  same device "0A89:0025 Aktiv Rutoken lite - CP" already registered
  same device "0A89:0030 Aktiv Rutoken ECP - CP" already registered
  same device "0A89:0080 Aktiv PINPad Ex - CP" already registered
  same device "0A89:0081 Aktiv PINPad In - CP" already registered
  same device "0A89:0060 Aktiv Co., ProgramPark Rutoken Magistra - CP" already registered
  same device "072F:90DE ACS Token - CP" already registered
  same device "24DC:0102 ARDS ZAO JaCarta LT - CP" already registered
  same device "2FB0:0002 Infocrypt Token++ - CP" already registered
  same device "2FB0:0004 Infocrypt Token++ - CP" already registered
  same device "2FB0:0006 Infocrypt Token++ lite - CP" already registered
  same device "2FB0:0008 Infocrypt Token++ lite - CP" already registered
  same device "2FB0:003A Infocrypt Token++ lite - CP" already registered
  same device "2022:078A Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:016C Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:0172 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2022:0226 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:078A Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:016C Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:0172 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2FB0:0226 Infocrypt HWDSSL DEVICE - CP" already registered
  same device "2A0C:0001 MultiSoft ltd. SCR2 - CP" already registered
  same device "23A0:0008 BIFIT ANGARA - CP" already registered
  same device "1FC9:7479 ISBC ESMART reader - CP" already registered
  same device "2CE4:7479 ESMART Token - CP" already registered
  same device "04D8:003F zis-group PRIVATE Security System Key" already registered
License 0A202-U0030-00ECW-RRLMF-UU2WK is set
[ErrorCode: 0x00000000]
License TA200-G0030-00ECW-RRLNE-BTDVV is set
[ReturnCode: 0x00000000]

(I'm running the latest Manjaro GNOME, kernel 5.8.3)

Also, do I understand correctly that if I want to install only the CSP I need to (1) remove cades_linux_amd64.tar.gz from source, (2) remove the corresponding MD5 sum, (3) remove unpacking the cades and plugin RPMs, (4) remove rm -r "$pkgdir/usr/lib64/", and (5) remove the section of the .install script starting from # cprocsp-pki-2.0.0-amd64-cades?

BTW, it seems that Cades can be downloaded without registration.

Rogach commented on 2020-09-05 07:37 (UTC)

@Pastafarianist Fixed!

Regarding CSP/Cades being both in the same package - this is due to the fact that we can't download the required archives automatically and manual intervention during building is required. If it wasn't the case, I would have been able to split all packages into different PKGBUILDs with properly specified dependencies.

Pastafarianist commented on 2020-09-04 17:30 (UTC) (edited on 2020-09-04 19:50 (UTC) by Pastafarianist)

cades_linux_amd64.tar.gz has been updated:

$ md5sum cades_linux_amd64.tar.gz 
11ec1def2383ba5644066ab73163785f  cades_linux_amd64.tar.gz

The PKGBUILD contains e0fa664ce9fba1b38e8a6c2b3e0c419c as the md5 hash. Seems that it expects version 2.0.0, while the latest version is 2.0.14071.

Perhaps this package should include only the CSP, without bundling the browser plugin?

ruestique commented on 2020-02-22 16:43 (UTC) (edited on 2020-02-22 17:28 (UTC) by ruestique)

решил написать инструкцию

стягиваем пакадж в локаль yay --getpkgbuild cryptopro-csp-k1

качаем два архива из пкжбилда

cd в папку с пкжбилдом и потом билдим makepkg -si


не ясно правда что дальше))


дальше ставим корневой серт который предлагает качнуть плагин

https://www.cryptopro.ru/sites/default/files/products/cades/demopage/simple.html#

sudo /opt/cprocsp/bin/amd64/certmgr -inst -store root -file путь-к-файлу/certnew.cer

а потом получаем личный, на том же сайте(первый линк)


но это тестовый серт, а нормальный походу надо за деньги делать

Rogach commented on 2019-08-06 08:01 (UTC) (edited on 2020-09-05 07:38 (UTC) by Rogach)

@Lorgan CSP: https://www.cryptopro.ru/sites/default/files/private/csp/50/11823/linux-amd64.tgz ЭЦП SDK: https://www.cryptopro.ru/sites/default/files/products/cades/current_release_2_0/cades_linux_amd64.tar.gz

Lorgan commented on 2019-08-05 19:50 (UTC)

Где брать бинарник linux-amd64.tgz?