Commit Graph

20 Commits

Author SHA1 Message Date
Pol Henarejos
dba614ed36 Relicense project under the GNU Affero General Public License v3 (AGPLv3)
and add the Enterprise / Commercial licensing option.

Main changes:
- Replace GPLv3 headers with AGPLv3 headers in source files.
- Update LICENSE file to the full AGPLv3 text.
- Add ENTERPRISE.md describing the dual-licensing model:
  * Community Edition: AGPLv3 (strong copyleft, including network use).
  * Enterprise / Commercial Edition: proprietary license for production /
    multi-user / OEM use without the obligation to disclose derivative code.
- Update README with a new "License and Commercial Use" section pointing to
  ENTERPRISE.md and clarifying how companies can obtain a commercial license.

Why this change:
- AGPLv3 ensures that modified versions offered as a service or deployed
  in production environments must provide corresponding source code.
- The Enterprise / Commercial edition provides organizations with an
  alternative proprietary license that allows internal, large-scale, or OEM
  use (bulk provisioning, policy enforcement, inventory / revocation,
  custom attestation, signed builds) without AGPL disclosure obligations.

This commit formally marks the first release that is dual-licensed:
AGPLv3 for the Community Edition and a proprietary commercial license
for Enterprise customers.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2025-10-26 20:18:45 +01:00
Pol Henarejos
3c6684cdab Rename CCID_ codes to PICOKEY_
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-11-05 19:29:00 +01:00
Pol Henarejos
28c63a500c Revert "Fix non-free'd context."
This reverts commit 9335b088cf.
2024-08-25 19:55:02 +02:00
Pol Henarejos
9335b088cf Fix non-free'd context.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-08-25 19:39:47 +02:00
Pol Henarejos
35d5d5e94e Use search_file() method.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-17 19:19:45 +02:00
Pol Henarejos
b034303193 Use new methods search_file() and file_put_data().
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-04-17 16:36:34 +02:00
Pol Henarejos
c3b66773e8 Use new asn1 structs.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-03-13 18:11:28 +01:00
Pol Henarejos
9fad920c3b Fix Windows emulation build.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-01-09 11:43:46 +01:00
Pol Henarejos
2b92d89ab7 Fix size_t casting.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-01-02 19:56:38 +01:00
Pol Henarejos
d82affa880 Added support for building emulation in Windows.
It has not been tested but it should not break any linux build.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2024-01-01 01:55:49 +01:00
Pol Henarejos
f631e4a5f3 Code style.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-07-17 12:56:16 +02:00
Pol Henarejos
ee3ee21e40 Added support for signatures based on HD BIP/SLIP.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-26 18:07:06 +02:00
Pol Henarejos
29544a3f17 Added support for SLIP-0021 node derivation.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-26 17:15:14 +02:00
Pol Henarejos
5135404083 Fix node derivation.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-25 15:17:39 +02:00
Pol Henarejos
55520ce184 Added support for master key generation for symmetric derivation.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-25 14:07:48 +02:00
Pol Henarejos
525b05b7ef Small refactoring to avoid unnecessary casts from uint32 to byte strings.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-25 12:18:28 +02:00
Pol Henarejos
0eea0fb096 Fix deriving nodes with retries (invalid first key).
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-24 12:47:27 +02:00
Pol Henarejos
82c03ee6c4 Fix memory free on error.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-24 12:40:51 +02:00
Pol Henarejos
20dfbcaaed Fix xpub for masters.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-24 11:25:36 +02:00
Pol Henarejos
46d85c029e Added first commit with BIP and SLIP support for cryptowallets.
Needs more work.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
2023-05-23 20:40:16 +02:00