diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 15dd6ed..b6e4fed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,7 +9,7 @@ permissions: packages: write jobs: - pypi: + publish: runs-on: ${{ matrix.os }} strategy: fail-fast: true diff --git a/LICENSE b/LICENSE index e2e5f19..bbf3c26 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2025, byteskeptical +Copyright (c) 2026, byteskeptical All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/pom.xml b/pom.xml index f83bd3b..2e82763 100644 --- a/pom.xml +++ b/pom.xml @@ -80,13 +80,11 @@ - --batch --pinentry-mode loopback ${gpg.keyname} - ${gpg.keyname} - true + ${env.GPG_KEY_PASS} sign @@ -96,7 +94,7 @@ org.apache.maven.plugins - 1.6 + 3.2.8 @@ -271,6 +269,13 @@ https://${source.host}/${source.account}/${project.name}/issues + + + BSD 3-Clause "New" or "Revised" License + https://${source.host}/${source.account}/${project.name}/blob/root/LICENSE + + + ${organization.name} https://${source.account}.com/ @@ -293,9 +298,6 @@ github - - github - @@ -310,13 +312,11 @@ ossrh - - ossrh - + 0x31A10A56 17 ${java.version} ${java.version} diff --git a/src/main/java/com/byteskeptical/credcat/SecretsService.java b/src/main/java/com/byteskeptical/credcat/SecretsService.java index 622a7ab..8dfb64a 100644 --- a/src/main/java/com/byteskeptical/credcat/SecretsService.java +++ b/src/main/java/com/byteskeptical/credcat/SecretsService.java @@ -573,11 +573,9 @@ private static void sendResponse( */ static class SecretsHandler implements HttpHandler { private final SecretsService service; - private final AppConfig appConfig; - SecretsHandler(SecretsService service, AppConfig appConfig) { + SecretsHandler(SecretsService service) { this.service = service; - this.appConfig = appConfig; } @Override @@ -659,7 +657,7 @@ public static void main(String[] args) { server.createContext( "/api/getSecrets", - new SecretsHandler(service, config) + new SecretsHandler(service) ); server.createContext( "/api/version", diff --git a/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java b/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java index 95841c6..445d62a 100644 --- a/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java +++ b/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java @@ -1,8 +1,5 @@ package com.byteskeptical.credcat.model; -import java.util.List; -import java.util.Map; - /** * Record(s) fields format. */