-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrussiancrt.prj
125 lines (102 loc) · 2.66 KB
/
russiancrt.prj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[NAME]
name=russiancrt
[VERSION]
version=2022
[RELEASE]
release=1.mrx9
[GROUP]
group=Accessibility
[DESCRIPTION]
0=Сertificates of the Ministry of Digital Development of Russia
1=---
2=More information: /usr/share/doc/package_name/repack.txt
[MAINTAINER]
maintainer=Alex Kotov
[VENDOR]
vendor=alex_q_2000 (C) 2022
[SUMMARY]
summary=Сertificates of the Ministry of Digital Development of Russia
[URLCOPY]
urlcopy=https://github.com/AKotov-dev/russiancrt
[LICENSE]
license=GPLv2
[DEPS]
deps=rootcerts
[META]
meta=0
[NOARCH]
noarch=1
[SIGN]
sign=0
[DEB]
deb=0
[FILES]
0=/usr/share/pki/ca-trust-source/anchors/
1=/usr/share/doc/russiancrt/
[AFTERINSTALL]
0=#!/bin/bash
1=
2=update-ca-trust
3=trust list | grep Russian
4=
5=# Clear Caches (Mozilla, Chrome, Opera, Chromium, Palemoon)
6=h="/home/$(logname)"
7=
8=rm -rf $h/.cache/mozilla/* \
9=$h/.cache/google-chrome/* \
10=$h/.cache/opera/* \
11=$h/.cache/chromium/* \
12=$h/.cache/moonchild\ productions/*
13=
14=# Clear Cookies
15=rm -f $(find $h/.mozilla/* -type f -name "cookies.sqlite") \
16=$h/.config/google-chrome/Default/Cookies* \
17=$h/.config/opera/Cookies* \
18=$h/.config/chromium/Default/Cookies* \
19=$(find $h/.moonchild\ productions/pale\ moon/* -type f -name "cookies.sqlite")
[AFTERREMOVE]
0=#!/bin/bash
1=
2=update-ca-trust
[URL32]
url32=https://github.com/AKotov-dev/russiancrt
[URL64]
url64=
[PROGRAMNAME]
programname=russiancrt
[DEVTOOL]
devtool=Shell
[TOOLVERSION]
toolversion=unknown
[INFO]
0=Ручная установка:
1=---
2=# Скачать корневой и выпускающий сертификаты: https://www.gosuslugi.ru/crt
3=> mkdir /usr/share/pki/ca-trust-source/anchors
4=> cp russian_trusted_root_ca.crt /usr/share/pki/ca-trust-source/anchors
5=> cp russian_trusted_sub_ca.crt /usr/share/pki/ca-trust-source/anchors
6=
7=# Обновить хранилище сертификатов
8=> update-ca-trust
9=# Проверить установку
10=> trust list | grep Russian
11=label: Russian Trusted Sub CA
12=label: Russian Trusted Root CA
13=
14=# Очистить кеш
15=# Caches (Mozilla, Chrome, Opera, Chromium, Palemoon)
16=rm -rf ~/.cache/mozilla/* \
17=~/.cache/google-chrome/* \
18=~/.cache/opera/* \
19=~/.cache/chromium/* \
20=~/.cache/moonchild\ productions/*
21=
22=# Очистить Cookies
23=rm -f $(find ~/.mozilla/* -type f -name "cookies.sqlite") \
24=~/.config/google-chrome/Default/Cookies* \
25=~/.config/opera/Cookies* \
26=~/.config/chromium/Default/Cookies* \
27=$(find ~/.moonchild\ productions/pale\ moon/* -type f -name "cookies.sqlite")
28=
29=---
30=Проверка наличия сертификатов в системе: http://www.sberbank.ru/ru/certificates