This file is indexed.

/usr/share/doc/libssh-gcrypt-4/copyright is in libssh-gcrypt-4 0.8.0~20170825.94fa1e38-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libssh
Upstream-Contact: libssh@libssh.org
                  Andreas Schneider <asn@cryptomilk.org>
Source: https://git.libssh.org/projects/libssh.git

Files: *
Copyright: *No copyright*
License: LGPL-2.1+~OpenSSL
Comment:
 Using license from COPYING file.

Files: include/libssh/auth.h
       include/libssh/bignum.h
       include/libssh/bind.h
       include/libssh/buffer.h
       include/libssh/channels.h
       include/libssh/crc32.h
       include/libssh/crypto.h
       include/libssh/dh.h
       include/libssh/ecdh.h
       include/libssh/ed25519.h
       include/libssh/gssapi.h
       include/libssh/kex.h
       include/libssh/keys.h
       include/libssh/legacy.h
       include/libssh/libcrypto.h
       include/libssh/libgcrypt.h
       include/libssh/libssh.h
       include/libssh/libsshpp.hpp
       include/libssh/messages.h
       include/libssh/misc.h
       include/libssh/packet.h
       include/libssh/pcap.h
       include/libssh/pki.h
       include/libssh/pki_priv.h
       include/libssh/poll.h
       include/libssh/priv.h
       include/libssh/scp.h
       include/libssh/server.h
       include/libssh/session.h
       include/libssh/sftp.h
       include/libssh/socket.h
       include/libssh/string.h
       include/libssh/threads.h
       include/libssh/wrapper.h
       src/auth1.c
       src/base64.c
       src/bignum.c
       src/bind.c
       src/buffer.c
       src/client.c
       src/connect.c
       src/crc32.c
       src/ecdh.c
       src/error.c
       src/gcrypt_missing.c
       src/init.c
       src/kex.c
       src/kex1.c
       src/legacy.c
       src/libcrypto.c
       src/libgcrypt.c
       src/log.c
       src/messages.c
       src/packet.c
       src/packet1.c
       src/packet_cb.c
       src/packet_crypt.c
       src/pcap.c
       src/pki_container_openssh.c
       src/pki_ed25519.c
       src/server.c
       src/session.c
       src/sftpserver.c
       src/socket.c
       src/string.c
       src/threads.c
       src/threads/pthread.c
       src/wrapper.c
       tests/benchmarks/bench_raw.c
       tests/benchmarks/bench_scp.c
       tests/benchmarks/bench_sftp.c
       tests/benchmarks/benchmarks.c
       tests/benchmarks/benchmarks.h
       tests/benchmarks/latency.c
       tests/client/torture_algorithms.c
       tests/client/torture_auth.c
       tests/client/torture_connect.c
       tests/client/torture_knownhosts.c
       tests/client/torture_session.c
       tests/test_pcap.c
       tests/test_socket.c
Copyright: 2003-2014, Aris Adamantiadis
License: LGPL-2.1+~OpenSSL

Files: examples/exec.c
       examples/senddata.c
       examples/CMakeLists.txt
       include/libssh/ssh1.h
       include/libssh/ssh2.h
       tests/authentication.c
       tests/benchmarks/bench1.sh
       tests/benchmarks/bench2.sh
       tests/chmodtest.c
       tests/client/torture_proxycommand.c
       tests/client/torture_sftp_dir.c
       tests/client/torture_sftp_read.c
       tests/cmdline.c
       tests/connection.c
       tests/generate.py
       tests/sftp_stress/main.c
       tests/test_exec.c
       tests/test_ssh_bind_accept_fd.c
       tests/test_tunnel.c
       tests/tests.h
       tests/unittests/torture_buffer.c
       tests/unittests/torture_callbacks.c
       tests/unittests/torture_channel.c
       tests/unittests/torture_init.c
       tests/unittests/torture_isipaddr.c
       tests/unittests/torture_keyfiles.c
       tests/unittests/torture_list.c
       tests/unittests/torture_misc.c
       tests/unittests/torture_options.c
       tests/unittests/torture_pki.c
       tests/unittests/torture_rand.c
Copyright: *No copyright*
License: LGPL-2.1+~OpenSSL
Comment:
 Using license from COPYING file.

Files: examples/authentication.c
       examples/connect_ssh.c
       examples/examples_common.h
       examples/knownhosts.c
       examples/libssh_scp.c
       examples/libsshpp.cpp
       examples/libsshpp_noexcept.cpp
       examples/proxy.c
       examples/sample.c
       examples/samplesftp.c
       examples/samplesshd-cb.c
       examples/samplesshd-kbdint.c
       examples/scp_download.c
       examples/sshnetcat.c
Copyright: 2003-2013, Aris Adamantiadis
License: public-domain
 You are free to copy this file, modify it in any way, consider it being public
 domain. This does not apply to the rest of the library though, but it is
 allowed to cut-and-paste working code from this file to any license of
 program.

Files: src/external/curve25519_ref.c
       src/external/ed25519.c
       src/external/fe25519.c
       src/external/ge25519.c
       src/external/ge25519_base.data
       src/external/sc25519.c
Copyright: *No copyright*
License: public-domain
 Copied from supercop project <https://bench.cr.yp.to/supercop.html>

Files: tests/pkd/pkd_client.h
       tests/pkd/pkd_daemon.c
       tests/pkd/pkd_daemon.h
       tests/pkd/pkd_hello.c
       tests/pkd/pkd_keyutil.c
       tests/pkd/pkd_keyutil.h
       tests/pkd/pkd_util.c
       tests/pkd/pkd_util.h
Copyright: 2014, Jon Simons
License: LGPL-2.1+~OpenSSL

Files: src/channels.c
       src/channels1.c
       src/gzip.c
       src/known_hosts.c
       src/misc.c
       src/options.c
       src/pki.c
       src/pki_crypto.c
       src/pki_gcrypt.c
       src/sftp.c
Copyright: 2003-2013, Aris Adamantiadis
           2008-2013, Andreas Schneider <asn@cryptomilk.org>
License: LGPL-2.1+~OpenSSL

Files: include/libssh/agent.h
       include/libssh/options.h
       src/agent.c
       src/callbacks.c
       src/config.c
       tests/client/torture_forward.c
       tests/client/torture_request_env.c
       tests/torture.c
       tests/torture.c
       tests/torture.h
Copyright: 2008-2013, Andreas Schneider <asn@cryptomilk.org>
License: LGPL-2.1+~OpenSSL

Files: include/libssh/curve25519.h
       src/curve25519.c
Copyright: 2013, Aris Adamantiadis <aris@badcode.be>
License: LGPL-2.1
Comment:
 Upstream has been notified about the license incongruity with
 all the other files. (Is: LGPL-2.1, should be: LGPL-2.1+~OpenSSL).

Files: include/libssh/callbacks.h
       src/scp.c
Copyright: 2009, Aris Adamantiadis <aris@0xbadc0de.be>
License: LGPL-2.1+~OpenSSL

Files: src/match.c
Copyright: 1995, Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
           2000, Markus Friedl
License: BSD-2-clause

Files: include/libssh/knownhosts.h
Copyright: 2014, Aris Adamantiadis <aris@badcode.be>
License: LGPL-2.1
Comment:
 File header gives 20014 as the copyright year. Assuming
 a typo (20014 -> 2014).
 .
 Upstream has been notified about the license incongruity with
 all the other files. (Is: LGPL-2.1, should be: LGPL-2.1+~OpenSSL).

Files: src/poll.c
Copyright: 2003-2013, Aris Adamantiadis
           2009, Aleksandar Kanchev
           2009-2013, Andreas Schneider <asn@cryptomilk.org>
License: LGPL-2.1+~OpenSSL

Files: src/dh.c
Copyright: 2003-2013, Aris Adamantiadis
           2009-2013, Andreas Schneider <asn@cryptomilk.org>
           2012, Dmitriy Kuznetsov <dk@yandex.ru>
License: LGPL-2.1+~OpenSSL

Files: src/auth.c
Copyright: 2003-2013, Aris Adamantiadis <aris@0xbadc0de.be>
           2008-2013, Andreas Schneider <asn@cryptomilk.org>
License: LGPL-2.1+~OpenSSL

Files: src/getpass.c
Copyright: 2011-2013, Andreas Schneider <asn@cryptomilk.org>
License: LGPL-2.1+~OpenSSL

Files: src/gssapi.c
Copyright: 2013, Aris Adamantiadis <aris@badcode.be>
License: LGPL-2.1+~OpenSSL

Files: cmake/Modules/DefineCMakeDefaults.cmake
       cmake/Modules/DefineCompilerFlags.cmake
       cmake/Modules/DefineInstallationPaths.cmake
       cmake/Modules/DefinePlatformDefaults.cmake
Copyright: *No copyright*
License: BSD-3-clause
Comment:
 Using license from cmake/Modules/COPYING-CMAKE-SCRIPTS

Files: cmake/Modules/AddCMockaTest.cmake
       cmake/Modules/CheckCCompilerFlagSSP.cmake
       cmake/Modules/FindArgp.cmake
       cmake/Modules/FindCMocka.cmake
       cmake/Modules/FindGCrypt.cmake
       cmake/Modules/FindGSSAPI.cmake
       cmake/Modules/FindNaCl.cmake
       cmake/Modules/FindNSIS.cmake
       cmake/Modules/MacroEnsureOutOfSourceBuild.cmake
       cmake/Modules/UseDoxygen.cmake
Copyright: 2007-2010 Andreas Schneider
           2013, Aris Adamantiadis
           2006, Oswald Buddenhagen
           2006, Alexander Neundorf
           2006, Laurent Montel
           2006-2007  Wengo
           2007, Daniel Gollub
           2009-2011 Tobias Rautenkranz
License: BSD-3-clause


Files: debian/*
Copyright: 2005-2006, Jean-Philippe Garcia Ballester <giga@le-pec.org>
           2006-2016, Laurent Bigonville <bigon@debian.org>
           2014, Mike Gabriel <sunweaver@debian.org>
License: LGPL-2.1+~OpenSSL or BSD-2-clause or BSD-3-clause

License: LGPL-2.1+~OpenSSL
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 .
 On Debian systems, the complete text of the GNU Library General
 Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".
 .
 In addition, as a special exception, the author of this
 program gives permission to link the code of its
 release with the OpenSSL project's "OpenSSL" library (or
 with modified versions of it that use the same license as
 the "OpenSSL" library), and distribute the linked
 executables. You must obey the GNU General Public
 License in all respects for all of the code used other
 than "OpenSSL".  If you modify this file, you may extend
 this exception to your version of the file, but you are
 not obligated to do so.  If you do not wish to do so,
 delete this exception statement from your version.

License: LGPL-2.1
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 .
 On Debian systems, the complete text of the GNU Library General
 Public License version 2.1 can be found in "/usr/share/common-licenses/LGPL-2.1".

License: BSD-2-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 1. Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: BSD-3-clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
 are met:
 .
 1. Redistributions of source code must retain the copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. The name of the author may not be used to endorse or promote products
    derived from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.