-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: NSP utils - Check Ticket (#10)
* Add new config entry * Placeholder for verifying nsp * New Source interface * Add new mock for Source * Add header for bash file * Split sources for clarity * Rename files since better package * Add more comments * Cleaner way to verify nsp * Fix lint issue * Starting point for NSP * Add reading file entry * Read filename * Add information about ticket * Reading ticket information * working title key comparison * Basic retructuration * Fix lint issues * Add more credti * Clean implementation for local files * Update config * Cleaner handle error for directory * Beginning to add check for nfs * Finish implementation for nfs * Cleaner message * Fix: issue with watcher and no directory * Handling no ticket in nsp/nsz * Add new config for debuging ticket * Add new tests * doc: Update readme * Fix lint cyclo issue * Change settings to reduce complexity lint * doc: Give more explanation Co-authored-by: DblK <admin@dblk.org>
- Loading branch information
Showing
25 changed files
with
1,017 additions
and
410 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package nsp | ||
|
||
const ( | ||
eTicketTIKFileSize uint64 = 704 | ||
eTicketTitleKeyCommon uint8 = 0 | ||
genericIssuer string = "Root-CA00000003-XS00000020" | ||
) |
Oops, something went wrong.