Config.in 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. menu "Configuration"
  2. depends on PACKAGE_dropbear
  3. config DROPBEAR_CURVE25519
  4. bool "Curve25519 support"
  5. default y
  6. help
  7. This enables the following key exchange algorithm:
  8. [email protected]
  9. Increases binary size by about 4 kB (MIPS).
  10. config DROPBEAR_ECC
  11. bool "Elliptic curve cryptography (ECC)"
  12. help
  13. Enables basic support for elliptic curve cryptography (ECC)
  14. in key exchange and public key authentication.
  15. Key exchange algorithms:
  16. ecdh-sha2-nistp256
  17. Public key algorithms:
  18. ecdsa-sha2-nistp256
  19. Increases binary size by about 24 kB (MIPS).
  20. Note: select DROPBEAR_ECC_FULL if full ECC support is required.
  21. config DROPBEAR_ECC_FULL
  22. bool "Elliptic curve cryptography (ECC), full support"
  23. depends on DROPBEAR_ECC
  24. help
  25. Enables full support for elliptic curve cryptography (ECC)
  26. in key exchange and public key authentication.
  27. Key exchange algorithms:
  28. ecdh-sha2-nistp256 (*)
  29. ecdh-sha2-nistp384
  30. ecdh-sha2-nistp521
  31. Public key algorithms:
  32. ecdsa-sha2-nistp256 (*)
  33. ecdsa-sha2-nistp384
  34. ecdsa-sha2-nistp521
  35. (*) - basic ECC support; provided by DROPBEAR_ECC.
  36. Increases binary size by about 4 kB (MIPS).
  37. config DROPBEAR_ED25519
  38. bool "Ed25519 support"
  39. default y if !SMALL_FLASH
  40. help
  41. This enables the following public key algorithm:
  42. ssh-ed25519
  43. Increases binary size by about 12 kB (MIPS).
  44. config DROPBEAR_CHACHA20POLY1305
  45. bool "Chacha20-Poly1305 support"
  46. default y
  47. help
  48. This enables the following authenticated encryption cipher:
  49. [email protected]
  50. Increases binary size by about 4 kB (MIPS).
  51. config DROPBEAR_U2F
  52. bool "U2F/FIDO support"
  53. default y
  54. help
  55. This option itself doesn't enable any support for U2F/FIDO
  56. but subordinate options do:
  57. - DROPBEAR_ECDSA_SK - ecdsa-sk keys support
  58. depends on DROPBEAR_ECC ("Elliptic curve cryptography (ECC)")
  59. - DROPBEAR_ED25519_SK - ed25519-sk keys support
  60. depends on DROPBEAR_ED25519 ("Ed25519 support")
  61. config DROPBEAR_ECDSA_SK
  62. bool "ECDSA-SK support"
  63. default y
  64. depends on DROPBEAR_U2F && DROPBEAR_ECC
  65. help
  66. This enables the following public key algorithm:
  67. [email protected]
  68. config DROPBEAR_ED25519_SK
  69. bool "Ed25519-SK support"
  70. default y
  71. depends on DROPBEAR_U2F && DROPBEAR_ED25519
  72. help
  73. This enables the following public key algorithm:
  74. [email protected]
  75. config DROPBEAR_ZLIB
  76. bool "Enable compression"
  77. help
  78. Enables compression using shared zlib library.
  79. Increases binary size by about 0.1 kB (MIPS) and requires
  80. additional 62 kB (MIPS) for a shared zlib library.
  81. config DROPBEAR_UTMP
  82. bool "Utmp support"
  83. depends on BUSYBOX_CONFIG_FEATURE_UTMP
  84. help
  85. This enables dropbear utmp support, the file /var/run/utmp is
  86. used to track who is currently logged in.
  87. config DROPBEAR_PUTUTLINE
  88. bool "Pututline support"
  89. depends on DROPBEAR_UTMP
  90. help
  91. Dropbear will use pututline() to write the utmp structure into
  92. the utmp file.
  93. config DROPBEAR_DBCLIENT
  94. bool "Build dropbear with dbclient"
  95. default y
  96. config DROPBEAR_ASKPASS
  97. bool "Enable askpass helper support"
  98. depends on DROPBEAR_DBCLIENT
  99. help
  100. This enables support for ssh-askpass helper in dropbear client
  101. in order to authenticate on remote hosts.
  102. Increases binary size by about 0.1 kB (MIPS).
  103. config DROPBEAR_DBCLIENT_AGENTFORWARD
  104. bool "Enable agent forwarding in dbclient [LEGACY/SECURITY]"
  105. default y
  106. depends on DROPBEAR_DBCLIENT
  107. help
  108. Increases binary size by about 0.1 kB (MIPS).
  109. Security notes:
  110. SSH agent forwarding might cause security issues (locally and
  111. on the jump machine).
  112. Hovewer, it's enabled by default for compatibility with
  113. previous OpenWrt/dropbear releases.
  114. Consider DISABLING this option if you're building own OpenWrt
  115. image.
  116. Also see DROPBEAR_AGENTFORWARD (agent forwarding in dropbear
  117. server itself).
  118. config DROPBEAR_SCP
  119. bool "Build dropbear with scp"
  120. default y
  121. config DROPBEAR_AGENTFORWARD
  122. bool "Enable agent forwarding [LEGACY/SECURITY]"
  123. default y
  124. help
  125. Increases binary size by about 0.1 kB (MIPS).
  126. Security notes:
  127. SSH agent forwarding might cause security issues (locally and
  128. on the jump machine).
  129. Hovewer, it's enabled by default for compatibility with
  130. previous OpenWrt/dropbear releases.
  131. Consider DISABLING this option if you're building own OpenWrt
  132. image.
  133. Also see DROPBEAR_DBCLIENT_AGENTFORWARD (agent forwarding in
  134. dropbear client) if DROPBEAR_DBCLIENT is selected.
  135. config DROPBEAR_MODERN_ONLY
  136. bool "Use modern crypto only [BREAKS COMPATIBILITY]"
  137. select DROPBEAR_ED25519
  138. select DROPBEAR_CURVE25519
  139. select DROPBEAR_CHACHA20POLY1305
  140. help
  141. This option enables:
  142. - Chacha20-Poly1305
  143. - Curve25519
  144. - Ed25519
  145. and disables:
  146. - AES
  147. - RSA
  148. Reduces binary size by about 64 kB (MIPS) from default
  149. configuration.
  150. Consider enabling this option if you're building own OpenWrt
  151. image and using modern SSH software everywhere.
  152. endmenu