Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .licignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# ...even when they live in subdirectories:
!*/

# golic skips *.d.ts by default; this one is hand-written and keeps its header.
!src/vite-env.d.ts

# Never the build output, deps, caches, or generated docs:
/node_modules/**
**/node_modules/**
Expand Down
28 changes: 15 additions & 13 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -137,8 +138,8 @@

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for describing the origin of the Work and
reproducing the content of the NOTICE file.
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Expand All @@ -162,15 +163,16 @@
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Support. While redistributing the Work or
Derivative Works thereof, You may accept support, warranty,
indemnity, or other liability obligations and/or rights consistent
with this License. However, in accepting such obligations, You may
act only on Your own behalf and on Your sole responsibility, not on
behalf of any other Contributor, and only if You agree to indemnify,
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or support.
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

Expand All @@ -181,11 +183,11 @@
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file's name and copyright notice be included on the same "page"
as the copyright notice for easier identification within third-party
archives.
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2026 Shane
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CryptOS-PKI / web
Copyright 2026 Shane
Copyright The CryptOS Authors.

This product includes software developed as part of the CryptOS-PKI project
(https://github.com/CryptOS-PKI).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ The pre-push hook runs `npm run lint` and `npm test`. CI runs lint, test and bui

## 📄 License

[Apache License 2.0](LICENSE). Copyright 2026 Shane.
[Apache License 2.0](LICENSE). Copyright The CryptOS Authors.
12 changes: 6 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ version: "3"

tasks:
license:
desc: Verify every source file carries the Apache 2.0 license header (CI; never writes).
desc: Verify every source file carries the Apache 2.0 license header and LICENSE is the verbatim Apache 2.0 text (CI; never writes).
cmds:
- go install github.com/Bugs5382/golic/cmd/golic@v0.3.0
- golic inject -t apache2 -c "2026 Shane" --dry -x
- go install github.com/Bugs5382/golic/cmd/golic@v1.2.0
- golic inject -t apache2 -c "The CryptOS Authors." --license-file --dry -x
license:fix:
desc: Inject the Apache 2.0 header into any source file missing it.
desc: Inject the Apache 2.0 header into any source file missing it and rewrite LICENSE to the verbatim Apache 2.0 text.
cmds:
- go install github.com/Bugs5382/golic/cmd/golic@v0.3.0
- golic inject -t apache2 -c "2026 Shane"
- go install github.com/Bugs5382/golic/cmd/golic@v1.2.0
- golic inject -t apache2 -c "The CryptOS Authors." --license-file
4 changes: 1 addition & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/App.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/cert-inventory.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/cert-inventory.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/config-form.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/config-form.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/column-header.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/column-header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/data-table.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/data-table.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/pagination.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/data-table/pagination.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/decommission-dialog.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/decommission-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/escrow-export-dialog.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/escrow-export-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/escrow-import-dialog.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/escrow-import-dialog.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/fleet-topology.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/fleet-topology.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/identity-badge.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/issue-form-paste.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/issue-form.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/issue-form.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/app-shell.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/auth-gate.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/auth-gate.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/certificate-help.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/certificate-help.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/denial-copy.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 1 addition & 3 deletions src/components/layout/diagnostics-copy.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
Apache License 2.0

Copyright 2026 Shane
Copyright The CryptOS Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
Loading
Loading