schleuder 3.5.3 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -21
- data/Rakefile +15 -12
- data/bin/schleuder +1 -1
- data/db/migrate/20140501103532_create_lists.rb +1 -1
- data/db/migrate/20140501112859_create_subscriptions.rb +1 -1
- data/db/migrate/{201508092100_add_language_to_lists.rb → 20150809210000_add_language_to_lists.rb} +1 -1
- data/db/migrate/20150812165700_change_keywords_admin_only_defaults.rb +1 -1
- data/db/migrate/20150813235800_add_forward_all_incoming_to_admins.rb +1 -1
- data/db/migrate/{201508141727_change_send_encrypted_only_default.rb → 20150814172700_change_send_encrypted_only_default.rb} +1 -1
- data/db/migrate/{201508222143_add_logfiles_to_keep_to_lists.rb → 20150822214300_add_logfiles_to_keep_to_lists.rb} +1 -1
- data/db/migrate/{201508261723_rename_delivery_disabled_to_delivery_enabled_and_change_default.rb → 20150826172300_rename_delivery_disabled_to_delivery_enabled_and_change_default.rb} +1 -1
- data/db/migrate/{201508261815_strip_gpg_passphrase.rb → 20150826181500_strip_gpg_passphrase.rb} +1 -1
- data/db/migrate/{201508261827_remove_default_mime.rb → 20150826182700_remove_default_mime.rb} +1 -1
- data/db/migrate/20160501172700_fix_headers_to_meta_defaults.rb +1 -1
- data/db/migrate/20170713215059_add_internal_footer_to_list.rb +1 -1
- data/db/migrate/20180110203100_add_sig_enc_to_headers_to_meta_defaults.rb +1 -1
- data/db/migrate/20180723173900_add_deliver_selfsent_to_list.rb +1 -1
- data/db/migrate/20190906194820_add_autocrypt_header_to_list.rb +1 -1
- data/db/migrate/20200118170110_add_set_reply_to_to_sender_and_munge_from.rb +15 -0
- data/db/schema.rb +45 -45
- data/etc/list-defaults.yml +18 -0
- data/etc/postfix/schleuder_sqlite.cf +1 -1
- data/etc/schleuder-weekly-key-maintenance.service +9 -0
- data/etc/schleuder-weekly-key-maintenance.timer +9 -0
- data/etc/schleuder.yml +3 -3
- data/lib/schleuder-api-daemon/helpers/schleuder-api-daemon-helper.rb +3 -3
- data/lib/schleuder-api-daemon/routes/subscription.rb +4 -4
- data/lib/schleuder.rb +13 -12
- data/lib/schleuder/cli.rb +9 -189
- data/lib/schleuder/cli/cert.rb +2 -2
- data/lib/schleuder/cli/cli_helper.rb +14 -0
- data/lib/schleuder/cli/schleuder_cert_manager.rb +4 -4
- data/lib/schleuder/conf.rb +4 -4
- data/lib/schleuder/errors/base.rb +2 -2
- data/lib/schleuder/errors/decryption_failed.rb +1 -1
- data/lib/schleuder/errors/fatal_error.rb +1 -1
- data/lib/schleuder/errors/key_adduid_failed.rb +1 -1
- data/lib/schleuder/errors/key_generation_failed.rb +1 -1
- data/lib/schleuder/errors/message_empty.rb +1 -1
- data/lib/schleuder/errors/message_too_big.rb +1 -1
- data/lib/schleuder/errors/too_many_keys.rb +1 -1
- data/lib/schleuder/filters/post_decryption/10_request.rb +3 -3
- data/lib/schleuder/filters/post_decryption/20_max_message_size.rb +1 -1
- data/lib/schleuder/filters/post_decryption/30_forward_to_owner.rb +1 -1
- data/lib/schleuder/filters/post_decryption/40_receive_admin_only.rb +1 -1
- data/lib/schleuder/filters/post_decryption/50_receive_authenticated_only.rb +1 -1
- data/lib/schleuder/filters/post_decryption/60_receive_signed_only.rb +1 -1
- data/lib/schleuder/filters/post_decryption/70_receive_encrypted_only.rb +1 -1
- data/lib/schleuder/filters/post_decryption/80_receive_from_subscribed_emailaddresses_only.rb +1 -1
- data/lib/schleuder/filters/pre_decryption/10_forward_bounce_to_admins.rb +1 -1
- data/lib/schleuder/filters/pre_decryption/30_send_key.rb +1 -1
- data/lib/schleuder/filters/pre_decryption/40_fix_exchange_messages.rb +1 -1
- data/lib/schleuder/filters/pre_decryption/50_strip_html_from_alternative.rb +2 -2
- data/lib/schleuder/filters_runner.rb +9 -9
- data/lib/schleuder/gpgme/ctx.rb +15 -67
- data/lib/schleuder/gpgme/key.rb +4 -136
- data/lib/schleuder/gpgme/user_id.rb +2 -0
- data/lib/schleuder/keyword_handlers/attach_list_key.rb +17 -0
- data/lib/schleuder/keyword_handlers/base.rb +36 -0
- data/lib/schleuder/keyword_handlers/get_version.rb +11 -0
- data/lib/schleuder/keyword_handlers/key_management.rb +141 -0
- data/lib/schleuder/keyword_handlers/list_management.rb +19 -0
- data/lib/schleuder/keyword_handlers/resend.rb +208 -0
- data/lib/schleuder/keyword_handlers/sign_this.rb +54 -0
- data/lib/schleuder/keyword_handlers/subscription_management.rb +213 -0
- data/lib/schleuder/keyword_handlers_runner.rb +146 -0
- data/lib/schleuder/list.rb +28 -40
- data/lib/schleuder/list_builder.rb +16 -5
- data/lib/schleuder/listlogger.rb +1 -1
- data/lib/schleuder/logger.rb +2 -6
- data/lib/schleuder/mail/{encrypted_part.rb → gpg/encrypted_part.rb} +0 -0
- data/lib/schleuder/mail/gpg/sign_part.rb +33 -0
- data/lib/schleuder/mail/message.rb +135 -40
- data/lib/schleuder/runner.rb +18 -16
- data/lib/schleuder/subscription.rb +35 -13
- data/lib/schleuder/validators/boolean_validator.rb +1 -1
- data/lib/schleuder/validators/email_validator.rb +1 -1
- data/lib/schleuder/validators/fingerprint_validator.rb +1 -1
- data/lib/schleuder/validators/greater_than_zero_validator.rb +1 -1
- data/lib/schleuder/validators/no_line_breaks_validator.rb +1 -1
- data/lib/schleuder/version.rb +1 -1
- data/locales/de.yml +49 -36
- data/locales/en.yml +34 -21
- metadata +131 -79
- data/bin/pinentry-clearpassphrase +0 -72
- data/lib/schleuder/plugin_runners/base.rb +0 -91
- data/lib/schleuder/plugin_runners/list_plugins_runner.rb +0 -24
- data/lib/schleuder/plugin_runners/request_plugins_runner.rb +0 -27
- data/lib/schleuder/plugins/attach_listkey.rb +0 -13
- data/lib/schleuder/plugins/get_version.rb +0 -7
- data/lib/schleuder/plugins/key_management.rb +0 -121
- data/lib/schleuder/plugins/list_management.rb +0 -15
- data/lib/schleuder/plugins/resend.rb +0 -199
- data/lib/schleuder/plugins/sign_this.rb +0 -46
- data/lib/schleuder/plugins/subscription_management.rb +0 -207
metadata
CHANGED
@@ -1,97 +1,105 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: schleuder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- schleuder dev team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.0.19
|
19
|
+
version: 6.1.3
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
|
26
|
+
version: 6.1.3
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bcrypt
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
31
32
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
+
version: 3.1.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 3.1.2
|
33
41
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
42
|
+
name: charlock_holmes
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
36
44
|
requirements:
|
37
45
|
- - "~>"
|
38
46
|
- !ruby/object:Gem::Version
|
39
|
-
version:
|
47
|
+
version: 0.7.6
|
40
48
|
type: :runtime
|
41
49
|
prerelease: false
|
42
50
|
version_requirements: !ruby/object:Gem::Requirement
|
43
51
|
requirements:
|
44
52
|
- - "~>"
|
45
53
|
- !ruby/object:Gem::Version
|
46
|
-
version:
|
54
|
+
version: 0.7.6
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
|
-
name:
|
56
|
+
name: gpgme
|
49
57
|
requirement: !ruby/object:Gem::Requirement
|
50
58
|
requirements:
|
51
59
|
- - "~>"
|
52
60
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0
|
54
|
-
- - "
|
61
|
+
version: '2.0'
|
62
|
+
- - ">="
|
55
63
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
64
|
+
version: 2.0.19
|
57
65
|
type: :runtime
|
58
66
|
prerelease: false
|
59
67
|
version_requirements: !ruby/object:Gem::Requirement
|
60
68
|
requirements:
|
61
69
|
- - "~>"
|
62
70
|
- !ruby/object:Gem::Version
|
63
|
-
version: '0
|
64
|
-
- - "
|
71
|
+
version: '2.0'
|
72
|
+
- - ">="
|
65
73
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
74
|
+
version: 2.0.19
|
67
75
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
76
|
+
name: mail
|
69
77
|
requirement: !ruby/object:Gem::Requirement
|
70
78
|
requirements:
|
71
79
|
- - "~>"
|
72
80
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
81
|
+
version: 2.7.1
|
74
82
|
type: :runtime
|
75
83
|
prerelease: false
|
76
84
|
version_requirements: !ruby/object:Gem::Requirement
|
77
85
|
requirements:
|
78
86
|
- - "~>"
|
79
87
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
88
|
+
version: 2.7.1
|
81
89
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
90
|
+
name: mail-gpg
|
83
91
|
requirement: !ruby/object:Gem::Requirement
|
84
92
|
requirements:
|
85
93
|
- - "~>"
|
86
94
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.
|
95
|
+
version: '0.3'
|
88
96
|
type: :runtime
|
89
97
|
prerelease: false
|
90
98
|
version_requirements: !ruby/object:Gem::Requirement
|
91
99
|
requirements:
|
92
100
|
- - "~>"
|
93
101
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.
|
102
|
+
version: '0.3'
|
95
103
|
- !ruby/object:Gem::Dependency
|
96
104
|
name: rake
|
97
105
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,35 +115,49 @@ dependencies:
|
|
107
115
|
- !ruby/object:Gem::Version
|
108
116
|
version: 10.5.0
|
109
117
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
118
|
+
name: sinatra
|
111
119
|
requirement: !ruby/object:Gem::Requirement
|
112
120
|
requirements:
|
113
121
|
- - "~>"
|
114
122
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
123
|
+
version: '2'
|
116
124
|
type: :runtime
|
117
125
|
prerelease: false
|
118
126
|
version_requirements: !ruby/object:Gem::Requirement
|
119
127
|
requirements:
|
120
128
|
- - "~>"
|
121
129
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
130
|
+
version: '2'
|
123
131
|
- !ruby/object:Gem::Dependency
|
124
|
-
name: sinatra
|
132
|
+
name: sinatra-contrib
|
125
133
|
requirement: !ruby/object:Gem::Requirement
|
126
134
|
requirements:
|
127
135
|
- - "~>"
|
128
136
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
137
|
+
version: '2'
|
130
138
|
type: :runtime
|
131
139
|
prerelease: false
|
132
140
|
version_requirements: !ruby/object:Gem::Requirement
|
133
141
|
requirements:
|
134
142
|
- - "~>"
|
135
143
|
- !ruby/object:Gem::Version
|
136
|
-
version: '
|
144
|
+
version: '2'
|
137
145
|
- !ruby/object:Gem::Dependency
|
138
|
-
name:
|
146
|
+
name: sqlite3
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 1.4.2
|
152
|
+
type: :runtime
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 1.4.2
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: thin
|
139
161
|
requirement: !ruby/object:Gem::Requirement
|
140
162
|
requirements:
|
141
163
|
- - "~>"
|
@@ -163,63 +185,63 @@ dependencies:
|
|
163
185
|
- !ruby/object:Gem::Version
|
164
186
|
version: '0'
|
165
187
|
- !ruby/object:Gem::Dependency
|
166
|
-
name:
|
188
|
+
name: byebug
|
167
189
|
requirement: !ruby/object:Gem::Requirement
|
168
190
|
requirements:
|
169
191
|
- - "~>"
|
170
192
|
- !ruby/object:Gem::Version
|
171
|
-
version: '
|
172
|
-
type: :
|
193
|
+
version: '10'
|
194
|
+
type: :development
|
173
195
|
prerelease: false
|
174
196
|
version_requirements: !ruby/object:Gem::Requirement
|
175
197
|
requirements:
|
176
198
|
- - "~>"
|
177
199
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
200
|
+
version: '10'
|
179
201
|
- !ruby/object:Gem::Dependency
|
180
|
-
name:
|
202
|
+
name: database_cleaner
|
181
203
|
requirement: !ruby/object:Gem::Requirement
|
182
204
|
requirements:
|
183
205
|
- - "~>"
|
184
206
|
- !ruby/object:Gem::Version
|
185
|
-
version: 0
|
186
|
-
type: :
|
207
|
+
version: '2.0'
|
208
|
+
type: :development
|
187
209
|
prerelease: false
|
188
210
|
version_requirements: !ruby/object:Gem::Requirement
|
189
211
|
requirements:
|
190
212
|
- - "~>"
|
191
213
|
- !ruby/object:Gem::Version
|
192
|
-
version: 0
|
214
|
+
version: '2.0'
|
193
215
|
- !ruby/object:Gem::Dependency
|
194
|
-
name:
|
216
|
+
name: factory_bot
|
195
217
|
requirement: !ruby/object:Gem::Requirement
|
196
218
|
requirements:
|
197
219
|
- - "~>"
|
198
220
|
- !ruby/object:Gem::Version
|
199
|
-
version:
|
221
|
+
version: '6.0'
|
200
222
|
type: :development
|
201
223
|
prerelease: false
|
202
224
|
version_requirements: !ruby/object:Gem::Requirement
|
203
225
|
requirements:
|
204
226
|
- - "~>"
|
205
227
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
228
|
+
version: '6.0'
|
207
229
|
- !ruby/object:Gem::Dependency
|
208
230
|
name: hirb
|
209
231
|
requirement: !ruby/object:Gem::Requirement
|
210
232
|
requirements:
|
211
|
-
- - "
|
233
|
+
- - "~>"
|
212
234
|
- !ruby/object:Gem::Version
|
213
235
|
version: '0'
|
214
236
|
type: :development
|
215
237
|
prerelease: false
|
216
238
|
version_requirements: !ruby/object:Gem::Requirement
|
217
239
|
requirements:
|
218
|
-
- - "
|
240
|
+
- - "~>"
|
219
241
|
- !ruby/object:Gem::Version
|
220
242
|
version: '0'
|
221
243
|
- !ruby/object:Gem::Dependency
|
222
|
-
name:
|
244
|
+
name: irb
|
223
245
|
requirement: !ruby/object:Gem::Requirement
|
224
246
|
requirements:
|
225
247
|
- - ">="
|
@@ -233,31 +255,59 @@ dependencies:
|
|
233
255
|
- !ruby/object:Gem::Version
|
234
256
|
version: '0'
|
235
257
|
- !ruby/object:Gem::Dependency
|
236
|
-
name:
|
258
|
+
name: rack-test
|
237
259
|
requirement: !ruby/object:Gem::Requirement
|
238
260
|
requirements:
|
239
|
-
- - "
|
261
|
+
- - "~>"
|
240
262
|
- !ruby/object:Gem::Version
|
241
|
-
version: '
|
263
|
+
version: '1'
|
242
264
|
type: :development
|
243
265
|
prerelease: false
|
244
266
|
version_requirements: !ruby/object:Gem::Requirement
|
245
267
|
requirements:
|
246
|
-
- - "
|
268
|
+
- - "~>"
|
247
269
|
- !ruby/object:Gem::Version
|
248
|
-
version: '
|
270
|
+
version: '1'
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: rspec
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - "~>"
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: '3'
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - "~>"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: '3'
|
285
|
+
- !ruby/object:Gem::Dependency
|
286
|
+
name: rubocop
|
287
|
+
requirement: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - "~>"
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '1'
|
292
|
+
type: :development
|
293
|
+
prerelease: false
|
294
|
+
version_requirements: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - "~>"
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '1'
|
249
299
|
- !ruby/object:Gem::Dependency
|
250
300
|
name: simplecov-console
|
251
301
|
requirement: !ruby/object:Gem::Requirement
|
252
302
|
requirements:
|
253
|
-
- - "
|
303
|
+
- - "~>"
|
254
304
|
- !ruby/object:Gem::Version
|
255
305
|
version: '0'
|
256
306
|
type: :development
|
257
307
|
prerelease: false
|
258
308
|
version_requirements: !ruby/object:Gem::Requirement
|
259
309
|
requirements:
|
260
|
-
- - "
|
310
|
+
- - "~>"
|
261
311
|
- !ruby/object:Gem::Version
|
262
312
|
version: '0'
|
263
313
|
description: |-
|
@@ -273,29 +323,31 @@ extra_rdoc_files: []
|
|
273
323
|
files:
|
274
324
|
- README.md
|
275
325
|
- Rakefile
|
276
|
-
- bin/pinentry-clearpassphrase
|
277
326
|
- bin/schleuder
|
278
327
|
- bin/schleuder-api-daemon
|
279
328
|
- db/migrate/20140501103532_create_lists.rb
|
280
329
|
- db/migrate/20140501112859_create_subscriptions.rb
|
281
|
-
- db/migrate/
|
330
|
+
- db/migrate/20150809210000_add_language_to_lists.rb
|
282
331
|
- db/migrate/20150812165700_change_keywords_admin_only_defaults.rb
|
283
332
|
- db/migrate/20150813235800_add_forward_all_incoming_to_admins.rb
|
284
|
-
- db/migrate/
|
285
|
-
- db/migrate/
|
286
|
-
- db/migrate/
|
287
|
-
- db/migrate/
|
288
|
-
- db/migrate/
|
333
|
+
- db/migrate/20150814172700_change_send_encrypted_only_default.rb
|
334
|
+
- db/migrate/20150822214300_add_logfiles_to_keep_to_lists.rb
|
335
|
+
- db/migrate/20150826172300_rename_delivery_disabled_to_delivery_enabled_and_change_default.rb
|
336
|
+
- db/migrate/20150826181500_strip_gpg_passphrase.rb
|
337
|
+
- db/migrate/20150826182700_remove_default_mime.rb
|
289
338
|
- db/migrate/20160501172700_fix_headers_to_meta_defaults.rb
|
290
339
|
- db/migrate/20170713215059_add_internal_footer_to_list.rb
|
291
340
|
- db/migrate/20180110203100_add_sig_enc_to_headers_to_meta_defaults.rb
|
292
341
|
- db/migrate/20180723173900_add_deliver_selfsent_to_list.rb
|
293
342
|
- db/migrate/20190906194820_add_autocrypt_header_to_list.rb
|
343
|
+
- db/migrate/20200118170110_add_set_reply_to_to_sender_and_munge_from.rb
|
294
344
|
- db/schema.rb
|
295
345
|
- etc/init.d/schleuder-api-daemon
|
296
346
|
- etc/list-defaults.yml
|
297
347
|
- etc/postfix/schleuder_sqlite.cf
|
298
348
|
- etc/schleuder-api-daemon.service
|
349
|
+
- etc/schleuder-weekly-key-maintenance.service
|
350
|
+
- etc/schleuder-weekly-key-maintenance.timer
|
299
351
|
- etc/schleuder.cron.weekly
|
300
352
|
- etc/schleuder.yml
|
301
353
|
- lib/schleuder-api-daemon.rb
|
@@ -308,6 +360,7 @@ files:
|
|
308
360
|
- lib/schleuder.rb
|
309
361
|
- lib/schleuder/cli.rb
|
310
362
|
- lib/schleuder/cli/cert.rb
|
363
|
+
- lib/schleuder/cli/cli_helper.rb
|
311
364
|
- lib/schleuder/cli/schleuder_cert_manager.rb
|
312
365
|
- lib/schleuder/cli/subcommand_fix.rb
|
313
366
|
- lib/schleuder/conf.rb
|
@@ -351,25 +404,25 @@ files:
|
|
351
404
|
- lib/schleuder/gpgme/key.rb
|
352
405
|
- lib/schleuder/gpgme/sub_key.rb
|
353
406
|
- lib/schleuder/gpgme/user_id.rb
|
407
|
+
- lib/schleuder/keyword_handlers/attach_list_key.rb
|
408
|
+
- lib/schleuder/keyword_handlers/base.rb
|
409
|
+
- lib/schleuder/keyword_handlers/get_version.rb
|
410
|
+
- lib/schleuder/keyword_handlers/key_management.rb
|
411
|
+
- lib/schleuder/keyword_handlers/list_management.rb
|
412
|
+
- lib/schleuder/keyword_handlers/resend.rb
|
413
|
+
- lib/schleuder/keyword_handlers/sign_this.rb
|
414
|
+
- lib/schleuder/keyword_handlers/subscription_management.rb
|
415
|
+
- lib/schleuder/keyword_handlers_runner.rb
|
354
416
|
- lib/schleuder/list.rb
|
355
417
|
- lib/schleuder/list_builder.rb
|
356
418
|
- lib/schleuder/listlogger.rb
|
357
419
|
- lib/schleuder/logger.rb
|
358
420
|
- lib/schleuder/logger_notifications.rb
|
359
|
-
- lib/schleuder/mail/encrypted_part.rb
|
360
421
|
- lib/schleuder/mail/gpg.rb
|
422
|
+
- lib/schleuder/mail/gpg/encrypted_part.rb
|
423
|
+
- lib/schleuder/mail/gpg/sign_part.rb
|
361
424
|
- lib/schleuder/mail/message.rb
|
362
425
|
- lib/schleuder/mail/parts_list.rb
|
363
|
-
- lib/schleuder/plugin_runners/base.rb
|
364
|
-
- lib/schleuder/plugin_runners/list_plugins_runner.rb
|
365
|
-
- lib/schleuder/plugin_runners/request_plugins_runner.rb
|
366
|
-
- lib/schleuder/plugins/attach_listkey.rb
|
367
|
-
- lib/schleuder/plugins/get_version.rb
|
368
|
-
- lib/schleuder/plugins/key_management.rb
|
369
|
-
- lib/schleuder/plugins/list_management.rb
|
370
|
-
- lib/schleuder/plugins/resend.rb
|
371
|
-
- lib/schleuder/plugins/sign_this.rb
|
372
|
-
- lib/schleuder/plugins/subscription_management.rb
|
373
426
|
- lib/schleuder/runner.rb
|
374
427
|
- lib/schleuder/subscription.rb
|
375
428
|
- lib/schleuder/validators/boolean_validator.rb
|
@@ -386,7 +439,7 @@ licenses:
|
|
386
439
|
metadata:
|
387
440
|
homepage_uri: https://schleuder.org/
|
388
441
|
documentation_uri: https://schleuder.org/docs/
|
389
|
-
changelog_uri: https://0xacab.org/schleuder/schleuder/blob/
|
442
|
+
changelog_uri: https://0xacab.org/schleuder/schleuder/blob/main/CHANGELOG.md
|
390
443
|
source_code_uri: https://0xacab.org/schleuder/schleuder/
|
391
444
|
bug_tracker_uri: https://0xacab.org/schleuder/schleuder/issues
|
392
445
|
mailing_list_uri: https://lists.nadir.org/mailman/listinfo/schleuder-announce/
|
@@ -400,16 +453,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
400
453
|
requirements:
|
401
454
|
- - ">="
|
402
455
|
- !ruby/object:Gem::Version
|
403
|
-
version: 2.
|
456
|
+
version: 2.5.0
|
404
457
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
405
458
|
requirements:
|
406
459
|
- - ">="
|
407
460
|
- !ruby/object:Gem::Version
|
408
461
|
version: '0'
|
409
462
|
requirements: []
|
410
|
-
|
411
|
-
|
412
|
-
signing_key:
|
463
|
+
rubygems_version: 3.2.21
|
464
|
+
signing_key:
|
413
465
|
specification_version: 4
|
414
|
-
summary: Schleuder is
|
466
|
+
summary: Schleuder is an encrypting mailing list manager with remailing-capabilities.
|
415
467
|
test_files: []
|
@@ -1,72 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
# This file can be deleted once we cease to support gnupg 2.0.
|
4
|
-
|
5
|
-
require 'fileutils'
|
6
|
-
require 'cgi'
|
7
|
-
require 'openssl'
|
8
|
-
|
9
|
-
def respond(msg, flush=true)
|
10
|
-
$stdout.puts msg
|
11
|
-
if flush
|
12
|
-
$stdout.flush
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
def send_ok(flush=true)
|
17
|
-
respond 'OK', flush
|
18
|
-
end
|
19
|
-
|
20
|
-
def send_password
|
21
|
-
if File.exist?(OLDPWDSENTFILE)
|
22
|
-
pwd = ''
|
23
|
-
if File.exist?(EMPTYPWDSENTFILE1)
|
24
|
-
FileUtils.touch(EMPTYPWDSENTFILE2)
|
25
|
-
else
|
26
|
-
FileUtils.touch(EMPTYPWDSENTFILE1)
|
27
|
-
end
|
28
|
-
else
|
29
|
-
pwd = OLDPASSWD
|
30
|
-
FileUtils.touch(OLDPWDSENTFILE)
|
31
|
-
end
|
32
|
-
respond "D #{pwd}"
|
33
|
-
end
|
34
|
-
|
35
|
-
def do_exit
|
36
|
-
if File.exist?(EMPTYPWDSENTFILE2)
|
37
|
-
FileUtils.rm_rf(TMPDIR)
|
38
|
-
end
|
39
|
-
exit 0
|
40
|
-
end
|
41
|
-
|
42
|
-
OLDPASSWD = CGI.escape(ENV['PINENTRY_USER_DATA'].to_s)
|
43
|
-
if OLDPASSWD.empty?
|
44
|
-
respond "Fatal error: passed PINENTRY_USER_DATA was empty, cannot continue"
|
45
|
-
exit 1
|
46
|
-
end
|
47
|
-
|
48
|
-
# We need a static directory name to maintain the state across invocations of
|
49
|
-
# this file.
|
50
|
-
TMPDIR = File.join(ENV['GNUPGHOME'], '.tmp-pinentry-clearpassphrase')
|
51
|
-
OLDPWDSENTFILE = File.join(TMPDIR, '1')
|
52
|
-
EMPTYPWDSENTFILE1 = File.join(TMPDIR, '2')
|
53
|
-
EMPTYPWDSENTFILE2 = File.join(TMPDIR, '3')
|
54
|
-
if ! Dir.exist?(TMPDIR)
|
55
|
-
Dir.mkdir(TMPDIR)
|
56
|
-
end
|
57
|
-
|
58
|
-
respond "OK - what's up?"
|
59
|
-
|
60
|
-
while line = $stdin.gets do
|
61
|
-
case line
|
62
|
-
when /^GETPIN/
|
63
|
-
send_password
|
64
|
-
send_ok
|
65
|
-
when /^BYE/
|
66
|
-
send_ok false
|
67
|
-
do_exit
|
68
|
-
else
|
69
|
-
send_ok
|
70
|
-
end
|
71
|
-
end
|
72
|
-
|