gnunet-revocation.1 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .\" This file is part of GNUnet.
  2. .\" Copyright (C) 2001-2019 GNUnet e.V.
  3. .\"
  4. .\" Permission is granted to copy, distribute and/or modify this document
  5. .\" under the terms of the GNU Free Documentation License, Version 1.3 or
  6. .\" any later version published by the Free Software Foundation; with no
  7. .\" Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
  8. .\" copy of the license is included in the file
  9. .\" FDL-1.3.
  10. .\"
  11. .\" A copy of the license is also available from the Free Software
  12. .\" Foundation Web site at http://www.gnu.org/licenses/fdl.html}.
  13. .\"
  14. .\" Alternately, this document is also available under the General
  15. .\" Public License, version 3 or later, as published by the Free Software
  16. .\" Foundation. A copy of the license is included in the file
  17. .\" GPL3.
  18. .\"
  19. .\" A copy of the license is also available from the Free Software
  20. .\" Foundation Web site at http://www.gnu.org/licenses/gpl.html
  21. .\"
  22. .\" SPDX-License-Identifier: GPL3.0-or-later OR FDL1.3-or-later
  23. .\"
  24. .Dd March 15, 2012
  25. .Dt GNUNET-REVOCATION 1
  26. .Os
  27. .Sh NAME
  28. .Nm gnunet-revocation
  29. .Nd revoke private keys (of egos) in GNUnet
  30. .Sh SYNOPSIS
  31. .Nm
  32. .Op Fl t Ar KEY | Fl -test= Ns Ar KEY
  33. .Op Fl R Ar NAME | Fl -revoke= Ns Ar NAME
  34. .Op Fl p | -perform
  35. .Op Fl f Ar NAME | Fl -filename= Ns Ar NAME
  36. .Op Fl c Ar FILENAME, Fl -config= Ns Ar FILENAME
  37. .Op Fl h | -help
  38. .Op Fl L Ar LOGLEVEL | Fl -loglevel= Ns Ar LOGLEVEL
  39. .Op Fl v | -version
  40. .Sh DESCRIPTION
  41. .Nm
  42. can be used to verify if a key has been revoked, to create a revocation certificate for later revocation, to instantly revoke a key and to use a pre-generated revocation certificate to revoke a key.
  43. Upon successful revocation, all peers will be informed about the invalidity of the key.
  44. As this is an expensive operation, GNUnet requires the issuer of the revocation to perform an expensive proof-of-work computation before they will be allowed to perform the revocation.
  45. gnunet-revocation will perform this computation.
  46. The computation can be performed ahead of time, with the resulting revocation certificate being stored in a file for later "instant" use.
  47. gnunet-revocation also makes is possible to resume the pre-calculation of a revocation --- simply abort a running proof-of-work calculation with CTRL-C, and the existing revocation certificate file will contain the status of the computation.
  48. Note that performing a revocation proof-of-work is deliberately VERY expensive.
  49. Depending on your CPU, the calculation can take days or weeks.
  50. .Bl -tag -width indent
  51. .It Fl t Ar KEY | Fl -test= Ns Ar KEY
  52. Check if the given KEY (ASCII-encoded public key required) has been revoked.
  53. .It Fl R Ar NAME | Fl -revoke= Ns Ar NAME
  54. Calculate or perform revocation for the ego with the given NAME.
  55. .It Fl p | -perform
  56. Actually perform the revocation as soon as possible (do not just generate a revocation certificate, use it).
  57. Must be supplied to actually perform the revocation.
  58. .It Fl f Ar NAME | Fl -filename= Ns Ar NAME
  59. Use NAME as the name of the file that is to contain the revocation certificate.
  60. Intermediate computation results will be stored here, as well as the final revocation certificate.
  61. When used together with -p, this file will be inspected to see if it contains a valid certificate for instant revocation, in which case the revocation can be performed instantly.
  62. If the given file contains anything (a valid certificate, with or without the completed proof-of-work) there is no need to supply the "-R" option or to still have the private key of the ego to perform the revocation.
  63. .It Fl c Ar FILENAME, Fl -config= Ns Ar FILENAME
  64. Use the configuration file FILENAME.
  65. .It Fl h | -help
  66. Print short help on options.
  67. .It Fl L Ar LOGLEVEL | Fl -loglevel= Ns Ar LOGLEVEL
  68. Use LOGLEVEL for logging.
  69. Valid values are DEBUG, INFO, WARNING and ERROR.
  70. .It Fl v | -version
  71. Print GNUnet version number.
  72. .El
  73. .Sh SEE ALSO
  74. The full documentation for gnunet is maintained as a Texinfo manual.
  75. If the
  76. .Xr info 1
  77. and gnunet programs are properly installed at your site, the command
  78. .Pp
  79. .Dl info gnunet
  80. .Pp
  81. should give you access to the complete handbook,
  82. .Pp
  83. .Dl info gnunet-c-tutorial
  84. .Pp
  85. will give you access to a tutorial for developers.
  86. .sp
  87. Depending on your installation, this information is also available in
  88. .Xr gnunet 7 and
  89. .Xr gnunet-c-tutorial 7 .
  90. .\".Sh HISTORY
  91. .\".Sh AUTHORS
  92. .Sh BUGS
  93. Report bugs by using
  94. .Lk https://bugs.gnunet.org
  95. or by sending electronic mail to
  96. .Aq Mt gnunet-developers@gnu.org .