From 217ee47989b8e1444c20d084aea1c8e21e763879 Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Fri, 2 Jan 2026 21:59:40 +0000
Subject: [PATCH 1/3] removing unused imports from response file, removing
redundant variable for appConfig in middleware, updating job name in workflow
---
.github/workflows/publish.yml | 2 +-
src/main/java/com/byteskeptical/credcat/SecretsService.java | 6 ++----
.../com/byteskeptical/credcat/model/SecretResponse.java | 3 ---
3 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 15dd6ed..111c366 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -9,7 +9,7 @@ permissions:
packages: write
jobs:
- pypi:
+ ossrh:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
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.
*/
From 8696e14829512512773e9e6508e281fe8223e167 Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Sun, 18 Jan 2026 03:57:58 +0000
Subject: [PATCH 2/3] bumping outdated maven-gpg-plugin version, fixing package
signing in pom to match actions workflow
---
.github/workflows/publish.yml | 2 +-
pom.xml | 13 +++----------
2 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 111c366..b6e4fed 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -9,7 +9,7 @@ permissions:
packages: write
jobs:
- ossrh:
+ publish:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
diff --git a/pom.xml b/pom.xml
index f83bd3b..533051e 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
@@ -293,9 +291,6 @@
github
-
- github
-
@@ -310,13 +305,11 @@
ossrh
-
- ossrh
-
+ 0x31A10A56
17
${java.version}
${java.version}
From 76c7b4e240c66fefff06ca7192c5569a8b0985e3 Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Sun, 18 Jan 2026 04:28:57 +0000
Subject: [PATCH 3/3] updating year on the license, adding license tags to pom
for sonatype requirement
---
LICENSE | 2 +-
pom.xml | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
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 533051e..2e82763 100644
--- a/pom.xml
+++ b/pom.xml
@@ -269,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/