blob: 57f7e7eba3b0c6eef6baeb4dbca5e0b984e71268 (
plain)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
|
commit 4318a9a998f78f1d6ee4d32facd0fc8e1e231179
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-26 23:36:33 +0200
add dissection of pam_ssh_agent_auth data
commit 5cc6f72612187001f70255f6097437381cf49bba
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-26 20:41:08 +0200
rfc4251uint64: fix byte order conversion
commit 023a56e7d7483531219280af2e17760168cfaf7e
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-12 21:39:42 +0200
use a mutex for fd creation and forks
so we can have the CLOEXEC flag applied before a concurrent fork&exec.
use select() to avoid blocking while holding the mutex.
commit 38a60755c7fa8e90b08273c6f2a0563ffc433f75
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-10 00:48:36 +0200
also replace custom fatal errors with exceptions
commit 655b6084a5133d01a513c976b8b2567a71ba30c4
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-09 22:21:52 +0200
throw system_error instead of calling perror, exit
commit 823dba2ac91f84a4ae75372c5636ad49d6cef1ba
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-09 21:42:10 +0200
factor out cloexec setting and stream exception arming
commit b7d43361c44a214fa1b891fba7ea096650a6adca
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-05-07 21:34:53 +0200
add more #include's, add using's for often-used names
commit a257a44837e78d283f1735b4685618c270aa54bc
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-20 23:35:04 +0200
use boost::iostreams instead of std::stringstreams
boost::iostreams::array_source instead of istringstream
boost::iostreams::back_insert_device instead of ostringstream
this should save at least one copy each and still has length checks (input)
or dynamic growth (output)
commit a7f6e0c1d8553df678aa7b401eb374cf179210f7
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-18 13:55:30 +0200
use a boost stream directly
instead of declaring an intermediate stream_buffer
commit 185d1b9525cb132bc802cdecbc6901ed30d58555
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-17 21:30:27 +0200
rfc4251string: drop unused and dangerous constructor from just a pointer
better use std::istringstream or boost::iostream::array_source
commit ec5920ac2ed11b29135acb834ce6d633259aad75
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-15 20:09:21 +0200
rfc4251: move remaining non-inline functions to impl file
commit afc8cbf6fad71317ee11b6e6374f8f3ce4816197
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-14 21:38:45 +0200
rfc4251*: add constructors from std::istream and use them
commit ca4c9a28590919b6c0fc49cefdaf967758d5e4a0
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-14 21:10:11 +0200
do clean exit after receiving signal
commit 26b246ac93d59a7f7ba29cff36ad1a3e61306a58
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-04-14 21:08:54 +0200
cosmetic: fix double semicolons
commit 7d0f47c171b716b7e138157f8165ebf790227582
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-03-23 23:40:49 +0100
rfc4251string: add more operators
this adds <= > >= !=
commit f4343c2060ea70639dfc7c9a5eeb70f0b5ec5697
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-03-22 22:34:35 +0100
tab align auth_data_ssh dissection for readability
commit ed9ca11a8dc24bed5f8e69e2a62169e7a484d8fb
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2014-03-06 21:22:57 +0100
enable large file support
this should make some tests for LFS happy; we don't use sizes of or offsets in files here
commit 477a0a0f1507413be7a5d2882aba28d01f7e6111 (tag: 0.3.1)
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-12-19 15:47:43 +0100
release 0.3.1
commit a8c1ef855655e7419e54317a8e782f3993d99f7d
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-11-13 23:42:46 +0100
use LDLIBS instead of LDFLAGS
LDLIBS are put behind the prerequisites by make's built-in rules so linking
won't fail with --as-needed.
commit a42c87e6a761a56ebc63cd7728fa2126b2e8805f
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-11-02 12:27:10 +0100
(re)unify client iostreams
boost::iostreams does not do lseek()s without being asked
extend try-block around entire function
commit b05034bc176b38b3b3f31c7a2e1e53b4c16f61e2
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-11-02 11:38:40 +0100
replace __gnu_cxx::stdio_filebuf with boost::iostreams
commit d11b2c830b7c7676d9c275d038f6a9593af2a4b8
Author: chrysn <chrysn@fsfe.org>
Date: 2013-10-26 10:53:24 +0200
confirm the license statement about files i created
commit bd2154e05c0ab15d8e25f997fb4e6ec61f7a4c1f (tag: 0.3)
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-26 01:18:11 +0200
release 0.3
commit 5d55704009d1052db6f4039544aedb17ca8f541b
Author: chrysn <chrysn@fsfe.org>
Date: 2013-10-26 00:50:36 +0200
ssh-askpass-noinput: a simpler confirmation dialog
this adds an ssh-askpass imlementation that will only show allow/deny
buttons and is based on zenity.
commit d8b50eb96e4e4f971803fcf2ba30312b2dac9d08
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-25 21:28:32 +0200
update documentation to mention confirmation stuff
Thanks: Christian Amsüss <chrysn@fsfe.org> for requesting that feature
commit fad26b644eef6883810203a1bd143180484ff8fb
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-23 21:24:15 +0200
add quotes around ssh-agent-filter's name
commit 8401112f358cd35ea72ddf2d67effbf3ac782a5e
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-23 21:20:29 +0200
rfc4251.h: add #include <stdexcept>
commit 4bea277b6a2efd93321e5d6a0d96c87eb4d4e7c5
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-11 11:51:42 +0200
add confirmed key operations
normal ssh authentications get dissected to allow the user a more
informed decision.
commit 82f6ec6201c4fb64d0fc9ec43e9c003849ddc6ba
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-11 11:45:06 +0200
update bash-completion for confirmation options
commit be10d6a2c1b646ce3cc67bab2896dd3720a80e64
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-09 20:18:07 +0200
improve inserting into (allow|confirm)ed_pubkeys
commit cf11590789a66485623ed11508ae137e2b78a96d
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-10-09 18:15:57 +0200
add cmdline options for confirmation
commit 48ae39cf004d22c0cf96703e382dec41304c3280
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-22 23:26:20 +0200
add confirmation via ssh-askpass
commit 4b2644c5cf45bb0775e777667aa5a54b9cd6bef8
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-22 23:23:11 +0200
add CLOEXEC flag to sockets
SOCK_CLOEXEC is currently only available on linux >= 2.6.27 so fcntl is used
as a fallback.
commit 06df197ec118243a073923bb9f6803ffa426ea89
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-19 13:15:24 +0200
ssh-agent-filter.bash-completion: add missing license
commit 59f0ba5eb0a1a4c9bcada66bfe3cf1780e268aff
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-18 16:43:22 +0200
add one missing exception activation
commit 3707680021de040472cd792131a8df42902d08ba
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-18 16:40:21 +0200
also print out SSH_AUTH_SOCK in debug mode
commit f6ae7a38cfec1d4f8abc6d5c13999682efcfca03
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-18 15:24:32 +0200
afssh.1.md: complete the sentence.
commit ad2ee59254259fb117a16f3cc60c9a19b7c78ab9 (tag: 0.2)
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-08 17:20:11 +0200
release 0.2
commit bd8e837efbc00eb49607ca493287d307ea47697b
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-09-01 12:32:55 +0200
move mpint/mpz conversion into separate file
these functions need linking against libgmp
commit 84ab40ff5fc9d19066c579fce94cd6c24d1d3b90
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-08-31 16:07:56 +0200
add basic bash-completion
escaping of some special chars is not handled yet
commit 9826dce1feec00b2759eb91c771068a11e77a219
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-08-31 18:14:01 +0200
reorganize import code for name-list and mpint
reuse some common parts
commit 21ec6082f66b6b5eb8ec6d4e9a03b7c3f101a07f
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-08-30 21:29:44 +0200
Makefile: add libstdc++ to LDFLAGS
commit add51c0b13a3b2c2c3c35c5b2c87f0931df6ec94
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-08-31 18:18:19 +0200
remove some inline specifiers
* from functions defined inside the struct
* from non-trivial functions
commit b7ece6c5ba3670e653ce19d759e6cfb48e6cf4ff
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-08-26 11:56:14 +0200
remove declarations for default copy and move
commit 19e42fff7ce4529720c0255e70c547a277cd9663
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-15 20:39:35 +0200
use more uniform initialization
std::string(1, <some char>) becomes std::string{<some char>}
also fix accidental use of ssize_t instead of size_t with gmp
This yielded two warnings (-Wnarrowing) where a size_t is used to initialize
an rfc4251uint32, they were fixed with a cast.
commit f2fe95a2720e31b66dc60c1109b05af7475f35db
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-19 21:35:50 +0200
rfc4251string: add length checks
commit 6bc571e8e273f2c1efd12f83f43bb56f07242d32
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-19 21:29:25 +0200
Makefile: reset version.h on clean when in git
commit 1b8707339da5b8d7fb976b49488b2752415850ae
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-15 23:59:22 +0200
remove unneeded namespace qualification, ADL works here
commit ac2c716b4bdb463ba6dfd4a1b82595c3ea861d01
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-15 20:37:47 +0200
improve debug mode
also clean up socket in debug mode
also exit when catching SIGINT
commit 9e8adf8438d3ca343a9161725e6f0ff68e44832c
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-02 01:32:13 +0200
rfc4251string: implement name-list (as vector<string>)
commit 6ba5bcba015ddcda1b81bd83a3dface81fdee52c
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-02 01:25:03 +0200
rfc4251string: don't store the length
commit 23f63eb81167afaa14ecfbbfd30c106b70659fe5
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-01 16:04:04 +0200
add manpage for afssh(1)
using pandoc to generate groff from markdown
commit f35640624b3e02bd259533bdf453f55e003ee76b
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-07-01 16:20:15 +0200
fix README formatting, rename to README.md
commit d177c0fc8d08da5af909ce810696541c6ac23750
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-20 18:59:41 +0200
add README
commit 3db5e4a6aa2e85492638438dac5719ce633ad6f5
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-20 16:00:08 +0200
add detection for output to terminal vs. pipe
commit e9f27a1f6c79fddabd5995a591a8398ca645c53f
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-20 15:56:49 +0200
afssh: add interactive key selection using whiptail/dialog
commit 6064fef975a261aab7e92792c2a83687ae1fdb9e
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-20 15:54:30 +0200
afssh: add safeguard against empty or non-running ssh-agent
commit 07557734129cd53acb5eff9d59b0d6144925e3e7
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-20 15:51:30 +0200
afssh: factor out usage
commit 3c431f0dfb0223f95bf318d4fe209a81f36e88d1
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-18 12:35:28 +0200
documentation update
ssh-agent-filter.C: remove remains of initial plan to wrap ssh in the filter
afssh: add --help
commit 453e8a66e8ed850d9a7559c8269942969bad62c9
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-18 11:40:19 +0200
afssh: use temporary directory for socket
commit 3693a5a901b237a0271c67bfd92b6fc4d87aa4f9 (tag: 0.1)
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-18 00:55:02 +0200
release 0.1
commit 6650d5dd2f08c1d2fff9d4c35fce5428da2dd174
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-18 00:45:20 +0200
add afssh: wrapper around ssh-agent-filter and ssh
commit 5a20fe397c6ca9818800ad183d603d5d1ab43a9d
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-18 00:23:26 +0200
remove double quoting caused by using boost::filesystem::path
commit b97f64c5f81c682933ab667dca93e6713efefd51
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-17 20:43:56 +0200
fix description of debug option
commit 7ed93d297cda37e9f0e89a54ab270d73e3cb4f3c
Author: Timo Weingärtner <timo@tiwe.de>
Date: 2013-06-17 20:33:38 +0200
Initial commit
|