Skip to content

Conversation

@Jan-Schuppik
Copy link
Contributor

@Jan-Schuppik Jan-Schuppik commented Aug 4, 2025

Add the packages required by the icingaweb2 feature Two Factor Authentication V2.

Packages:

  • TOTP
  • QR code (Requires the GD php extension for image generation!)

Copy link
Member

@Al2Klimov Al2Klimov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • There are merge conflicts
  • composer.lock is unchanged
  • chillerlan/php-qrcode is under Apache-2.0 which is incompatible with GPL-2.0

jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 1, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 2, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 2, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
@jrauh01
Copy link

jrauh01 commented Dec 9, 2025

I switched the library for QR code generation to endroid/qr-code which is under MIT license and therefore compatible with GPL-2.0.

This library requires the GD extension for php!

jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 9, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 9, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 9, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 11, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 12, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
jrauh01 added a commit to Icinga/icingaweb2 that referenced this pull request Dec 12, 2025
Requires `endroid/qr-code` library in
Icinga/icinga-php-thirdparty#53.

Because we use **GPL-2.0** license for Icinga Web:

- `chillerlan/php-qrcode: **Apache-2.0** (incompatible)
- `endroid/qr-code`: **MIT** (compatible)
@nilmerg
Copy link
Member

nilmerg commented Jan 12, 2026

Please rebase and remove the vendor files. If you want to share a build with someone, please create a different branch.

Jan-Schuppik and others added 3 commits January 14, 2026 09:03
Switch from `chillerlan/php-qrcode` to `amirezaeb/heroqr`.

For Icinga Web we are using **GPL-2.0** license:

- `chillerlan/php-qrcode`: **Apache-2.0** (not compatible)
- `amirezaeb/heroqr`: **MIT** (compatible)
`amirezaeb/heroqr` just uses `endroid/qr-code` so we can save
some superfluous dependencies.

`endroid/qr-code` also has **MIT** license.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants