From 32234297f6503a8b5f933424399a46466b9d600a Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Wed, 6 Aug 2025 04:05:45 +0000
Subject: [PATCH 1/4] runtime provider dragonwell doesn't provide macos builds,
jetbrains has ridiculous rate limit not even enough to test two java versions
on three os's, fixing README issue url's
---
.github/workflows/test.yml | 9 +++++++--
README.md | 6 +++---
pom.xml | 11 ++++++-----
3 files changed, 16 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 8fd234a..88b5bab 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -12,9 +12,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- java-distribution: ['corretto', 'dragonwell', 'jetbrains', 'liberica', 'microsoft', 'oracle', 'sapmachine', 'zulu']
+ java-distribution: ['corretto', 'dragonwell', 'jetbrains', 'liberica', 'microsoft', 'oracle', 'sapmachine', 'semeru', 'zulu']
java-version: ['17', '21']
os: [macos-13, macos-latest, ubuntu-22.04, ubuntu-latest, windows-latest]
+ exclude:
+ - os: macos-13
+ java-distribution: ['dragonwell', 'jetbrains']
+ - os: macos-latest
+ java-distribution: 'dragonwell'
steps:
- uses: actions/checkout@v4
@@ -25,6 +30,6 @@ jobs:
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Build package ${{ matrix.java-distribution }} ${{ matrix.java-version }}
- run: mvn clean install
+ run: mvn clean package
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/README.md b/README.md
index f4b188a..52b20ec 100644
--- a/README.md
+++ b/README.md
@@ -33,9 +33,9 @@
Explore the docs »
- Report Bug
+ Report Bug
·
- Request Feature
+ Request Feature
@@ -284,7 +284,7 @@ Don't forget to give the project a star! Thanks again!
## License
-Distributed under the project_license. See `LICENSE.txt` for more information.
+Distributed under the project_license. See `LICENSE` for more information.
(back to top)
diff --git a/pom.xml b/pom.xml
index f383a5c..c54c4ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,11 +2,11 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- credpeek
+ credcat
com.byteskeptical
2025
4.0.0
- credpeek
+ credcat
jar
https://${source.host}/${source.account}/${project.name}/
1.0.0
@@ -191,7 +191,7 @@
git@${source.account}.com
${source.account}
${source.account}
- Information Technology
+ ${organization.name}
https://${source.account}.com/
@@ -202,7 +202,7 @@
- Information Technology
+ ${organization.name}
https://${source.account}.com/
@@ -233,9 +233,10 @@
- 17
+ 21
${java.version}
${java.version}
+ Gibberish Inc
UTF-8
byteskeptical
github.com
From 6eefd686c13816d4dbe937ad6435b6cd3d6e4787 Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Sun, 10 Aug 2025 18:53:52 +0000
Subject: [PATCH 2/4] being more explicit in the exclude matrix, small README
typo fixes, removing keeper from path
---
.github/workflows/test.yml | 18 ++++++++++++++++--
README.md | 17 ++++++++++-------
pom.xml | 2 +-
.../{keeper => credcat}/SecretsService.java | 8 ++++----
.../model/KeeperRequest.java | 2 +-
.../model/SecretResponse.java | 2 +-
.../{keeper => credcat}/util/JsonHandler.java | 2 +-
.../SecretsServiceTest.java | 2 +-
8 files changed, 35 insertions(+), 18 deletions(-)
rename src/main/java/com/byteskeptical/{keeper => credcat}/SecretsService.java (98%)
rename src/main/java/com/byteskeptical/{keeper => credcat}/model/KeeperRequest.java (98%)
rename src/main/java/com/byteskeptical/{keeper => credcat}/model/SecretResponse.java (95%)
rename src/main/java/com/byteskeptical/{keeper => credcat}/util/JsonHandler.java (97%)
rename src/test/java/com/byteskeptical/{keeper => credcat}/SecretsServiceTest.java (99%)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 88b5bab..d9464a3 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -17,9 +17,23 @@ jobs:
os: [macos-13, macos-latest, ubuntu-22.04, ubuntu-latest, windows-latest]
exclude:
- os: macos-13
- java-distribution: ['dragonwell', 'jetbrains']
+ java-distribution: 'dragonwell'
+ java-version: '17'
+ - os: macos-13
+ java-distribution: 'jetbrains'
+ java-version: '17'
+ - os: macos-13
+ java-distribution: 'dragonwell'
+ java-version: '21'
+ - os: macos-13
+ java-distribution: 'jetbrains'
+ java-version: '21'
+ - os: macos-latest
+ java-distribution: 'dragonwell'
+ java-version: '17'
- os: macos-latest
- java-distribution: 'dragonwell'
+ java-distribution: 'dragonwell'
+ java-version: '21'
steps:
- uses: actions/checkout@v4
diff --git a/README.md b/README.md
index 52b20ec..d7722f6 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@
credcat
- Bound by sacred cyphers and powered by forgotten rites; access without a path, only a destination. Your vitals sigils safe, their essence known to none but their holder, sealed by the magic of pure ignorance.
+ Bound by sacred cyphers and powered by forgotten rites; access without a path, only a destination. Your vital sigils safe, their essence known to none but their holder, sealed by the magic of pure ignorance.
Explore the docs »
@@ -72,7 +72,10 @@
## About The Project
-Extending access to Keeper secrets manager for api retrival in distributed or disconnected processes. Serves as a quality of life abstraction to diminish the scourge of hard-coded, insecurely handled credentials in our code bases.
+Extending access to Keeper secrets manager for api retrival in
+distributed or disconnected processes. Serves as a quality of life
+abstraction to diminish the scourge of hard-coded, insecurely
+handled credentials in our code bases.
(back to top)
@@ -91,8 +94,8 @@ _Java is like a bad relationship. It's too object-oriented_
## Getting Started
-Compiling is not necessary as release binaries are available. If you're so
-inclined the sections below are for you.
+Compiling is not necessary as release binaries are available. If
+you're so inclined the sections below are for you.
### Prerequisites
@@ -200,7 +203,7 @@ location is returned in the response.
2. Whether passing title or uid, records are returned nested under its respective uid.
```sh
- java -cp "target/classes:target/dependency/*" com.byteskeptical.keeper.SecretsService $ADVANCED
+ java -cp "target/classes:target/dependency/*" com.byteskeptical.credcat.SecretsService $ADVANCED
java -jar target/credcat.jar $UID_ONLY
```
```json
@@ -219,10 +222,10 @@ location is returned in the response.
"notes" : "VALUE = x-ClickToCall-APIKey:be0d988f-063c-d654-ad1b-a54337f87233",
"files" : [ {
"name" : "ascii-art.txt",
- "path" : "/tmp/keeper-2452814181455428916/ascii-art.txt"
+ "path" : "/mnt/share/keeper-2452814181455428916/ascii-art.txt"
}, {
"name" : "integration.ucaas.call.metadata.PNG",
- "path" : "/tmp/keeper-2452814181455428916/integration.ucaas.call.metadata.PNG"
+ "path" : "/mnt/share/keeper-2452814181455428916/integration.ucaas.call.metadata.PNG"
} ],
"type" : "login",
"title" : "Production ClickToCall API Key",
diff --git a/pom.xml b/pom.xml
index c54c4ad..7b241b5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,7 +81,7 @@
- ${project.groupId}.keeper.SecretsService
+ ${project.groupId}.credcat.SecretsService
diff --git a/src/main/java/com/byteskeptical/keeper/SecretsService.java b/src/main/java/com/byteskeptical/credcat/SecretsService.java
similarity index 98%
rename from src/main/java/com/byteskeptical/keeper/SecretsService.java
rename to src/main/java/com/byteskeptical/credcat/SecretsService.java
index 73bc934..5a59b35 100644
--- a/src/main/java/com/byteskeptical/keeper/SecretsService.java
+++ b/src/main/java/com/byteskeptical/credcat/SecretsService.java
@@ -1,8 +1,8 @@
-package com.byteskeptical.keeper;
+package com.byteskeptical.credcat;
-import com.byteskeptical.keeper.model.KeeperRequest;
-import com.byteskeptical.keeper.model.SecretResponse;
-import com.byteskeptical.keeper.util.JsonHandler;
+import com.byteskeptical.credcat.model.KeeperRequest;
+import com.byteskeptical.credcat.model.SecretResponse;
+import com.byteskeptical.credcat.util.JsonHandler;
import com.keepersecurity.secretsManager.core.AccountNumber;
import com.keepersecurity.secretsManager.core.AddressRef;
import com.keepersecurity.secretsManager.core.Addresses;
diff --git a/src/main/java/com/byteskeptical/keeper/model/KeeperRequest.java b/src/main/java/com/byteskeptical/credcat/model/KeeperRequest.java
similarity index 98%
rename from src/main/java/com/byteskeptical/keeper/model/KeeperRequest.java
rename to src/main/java/com/byteskeptical/credcat/model/KeeperRequest.java
index 92e0af9..6e14bfb 100644
--- a/src/main/java/com/byteskeptical/keeper/model/KeeperRequest.java
+++ b/src/main/java/com/byteskeptical/credcat/model/KeeperRequest.java
@@ -1,4 +1,4 @@
-package com.byteskeptical.keeper.model;
+package com.byteskeptical.credcat.model;
import java.util.List;
diff --git a/src/main/java/com/byteskeptical/keeper/model/SecretResponse.java b/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java
similarity index 95%
rename from src/main/java/com/byteskeptical/keeper/model/SecretResponse.java
rename to src/main/java/com/byteskeptical/credcat/model/SecretResponse.java
index b6c60e7..95841c6 100644
--- a/src/main/java/com/byteskeptical/keeper/model/SecretResponse.java
+++ b/src/main/java/com/byteskeptical/credcat/model/SecretResponse.java
@@ -1,4 +1,4 @@
-package com.byteskeptical.keeper.model;
+package com.byteskeptical.credcat.model;
import java.util.List;
import java.util.Map;
diff --git a/src/main/java/com/byteskeptical/keeper/util/JsonHandler.java b/src/main/java/com/byteskeptical/credcat/util/JsonHandler.java
similarity index 97%
rename from src/main/java/com/byteskeptical/keeper/util/JsonHandler.java
rename to src/main/java/com/byteskeptical/credcat/util/JsonHandler.java
index 4765343..891e454 100644
--- a/src/main/java/com/byteskeptical/keeper/util/JsonHandler.java
+++ b/src/main/java/com/byteskeptical/credcat/util/JsonHandler.java
@@ -1,4 +1,4 @@
-package com.byteskeptical.keeper.util;
+package com.byteskeptical.credcat.util;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
diff --git a/src/test/java/com/byteskeptical/keeper/SecretsServiceTest.java b/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
similarity index 99%
rename from src/test/java/com/byteskeptical/keeper/SecretsServiceTest.java
rename to src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
index 595b0bc..68c992e 100644
--- a/src/test/java/com/byteskeptical/keeper/SecretsServiceTest.java
+++ b/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
@@ -1,4 +1,4 @@
-package com.byteskeptical.keeper;
+package com.byteskeptical.credcat;
import com.keepersecurity.secretsManager.core.KeeperRecord;
import com.keepersecurity.secretsManager.core.KeeperRecordData;
From c7aafdab7fc09aef351ab78172f5eedab8410dd2 Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Sun, 10 Aug 2025 19:04:33 +0000
Subject: [PATCH 3/4] need to allow 17 builds duh
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7b241b5..d52a08e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -233,7 +233,7 @@
- 21
+ 17
${java.version}
${java.version}
Gibberish Inc
From 6fb932b62449f4c207f3ca22ab21fea28821e4db Mon Sep 17 00:00:00 2001
From: byteskeptical <40208858+byteskeptical@users.noreply.github.com>
Date: Sun, 10 Aug 2025 20:07:27 +0000
Subject: [PATCH 4/4] return the actual version number now
---
src/main/java/com/byteskeptical/credcat/SecretsService.java | 2 +-
src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/byteskeptical/credcat/SecretsService.java b/src/main/java/com/byteskeptical/credcat/SecretsService.java
index 5a59b35..5142656 100644
--- a/src/main/java/com/byteskeptical/credcat/SecretsService.java
+++ b/src/main/java/com/byteskeptical/credcat/SecretsService.java
@@ -69,7 +69,7 @@ public class SecretsService {
* @return A string representing the service version.
*/
public String getVersion() {
- return "0.1337";
+ return "1.0.0";
}
/**
diff --git a/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java b/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
index 68c992e..306c250 100644
--- a/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
+++ b/src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java
@@ -51,7 +51,7 @@ void setUp() {
@Test
void getVersion_returnsCorrectVersion() {
- assertEquals("0.1337", service.getVersion(), "Version should match the defined string.");
+ assertEquals("1.0.0", service.getVersion(), "Version should match the defined string.");
}
@Test