Skip to content

Commit ac5490f

Browse files
Merge pull request #1 from byteskeptical/dragunwell
RunDry
2 parents e5b9bdb + 6fb932b commit ac5490f

8 files changed

Lines changed: 50 additions & 27 deletions

File tree

.github/workflows/test.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,28 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
java-distribution: ['corretto', 'dragonwell', 'jetbrains', 'liberica', 'microsoft', 'oracle', 'sapmachine', 'zulu']
15+
java-distribution: ['corretto', 'dragonwell', 'jetbrains', 'liberica', 'microsoft', 'oracle', 'sapmachine', 'semeru', 'zulu']
1616
java-version: ['17', '21']
1717
os: [macos-13, macos-latest, ubuntu-22.04, ubuntu-latest, windows-latest]
18+
exclude:
19+
- os: macos-13
20+
java-distribution: 'dragonwell'
21+
java-version: '17'
22+
- os: macos-13
23+
java-distribution: 'jetbrains'
24+
java-version: '17'
25+
- os: macos-13
26+
java-distribution: 'dragonwell'
27+
java-version: '21'
28+
- os: macos-13
29+
java-distribution: 'jetbrains'
30+
java-version: '21'
31+
- os: macos-latest
32+
java-distribution: 'dragonwell'
33+
java-version: '17'
34+
- os: macos-latest
35+
java-distribution: 'dragonwell'
36+
java-version: '21'
1837

1938
steps:
2039
- uses: actions/checkout@v4
@@ -25,6 +44,6 @@ jobs:
2544
distribution: ${{ matrix.java-distribution }}
2645
java-version: ${{ matrix.java-version }}
2746
- name: Build package ${{ matrix.java-distribution }} ${{ matrix.java-version }}
28-
run: mvn clean install
47+
run: mvn clean package
2948
env:
3049
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
<h3 align="center">credcat</h3>
2929

3030
<p align="center">
31-
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.
31+
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.
3232
<br />
3333
<a href="https://github.com/byteskeptical/credcat"><strong>Explore the docs »</strong></a>
3434
<br />
3535
<br />
36-
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=bug&template=bug-report---.md">Report Bug</a>
36+
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=bug">Report Bug</a>
3737
&middot;
38-
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>
38+
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=enhancement">Request Feature</a>
3939
</p>
4040
</div>
4141

@@ -72,7 +72,10 @@
7272
<!-- ABOUT THE PROJECT -->
7373
## About The Project
7474

75-
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.
75+
Extending access to Keeper secrets manager for api retrival in
76+
distributed or disconnected processes. Serves as a quality of life
77+
abstraction to diminish the scourge of hard-coded, insecurely
78+
handled credentials in our code bases.
7679

7780
<p align="right">(<a href="#readme-top">back to top</a>)</p>
7881

@@ -91,8 +94,8 @@ _Java is like a bad relationship. It's too object-oriented_
9194
<!-- GETTING STARTED -->
9295
## Getting Started
9396

94-
Compiling is not necessary as release binaries are available. If you're so
95-
inclined the sections below are for you.
97+
Compiling is not necessary as release binaries are available. If
98+
you're so inclined the sections below are for you.
9699

97100
### Prerequisites
98101

@@ -200,7 +203,7 @@ location is returned in the response.
200203

201204
2. Whether passing title or uid, records are returned nested under its respective uid.
202205
```sh
203-
java -cp "target/classes:target/dependency/*" com.byteskeptical.keeper.SecretsService $ADVANCED
206+
java -cp "target/classes:target/dependency/*" com.byteskeptical.credcat.SecretsService $ADVANCED
204207
java -jar target/credcat.jar $UID_ONLY
205208
```
206209
```json
@@ -219,10 +222,10 @@ location is returned in the response.
219222
"notes" : "VALUE = x-ClickToCall-APIKey:be0d988f-063c-d654-ad1b-a54337f87233",
220223
"files" : [ {
221224
"name" : "ascii-art.txt",
222-
"path" : "/tmp/keeper-2452814181455428916/ascii-art.txt"
225+
"path" : "/mnt/share/keeper-2452814181455428916/ascii-art.txt"
223226
}, {
224227
"name" : "integration.ucaas.call.metadata.PNG",
225-
"path" : "/tmp/keeper-2452814181455428916/integration.ucaas.call.metadata.PNG"
228+
"path" : "/mnt/share/keeper-2452814181455428916/integration.ucaas.call.metadata.PNG"
226229
} ],
227230
"type" : "login",
228231
"title" : "Production ClickToCall API Key",
@@ -284,7 +287,7 @@ Don't forget to give the project a star! Thanks again!
284287
<!-- LICENSE -->
285288
## License
286289

287-
Distributed under the project_license. See `LICENSE.txt` for more information.
290+
Distributed under the project_license. See `LICENSE` for more information.
288291

289292
<p align="right">(<a href="#readme-top">back to top</a>)</p>
290293

pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44

5-
<artifactId>credpeek</artifactId>
5+
<artifactId>credcat</artifactId>
66
<groupId>com.byteskeptical</groupId>
77
<inceptionYear>2025</inceptionYear>
88
<modelVersion>4.0.0</modelVersion>
9-
<name>credpeek</name>
9+
<name>credcat</name>
1010
<packaging>jar</packaging>
1111
<url>https://${source.host}/${source.account}/${project.name}/</url>
1212
<version>1.0.0</version>
@@ -81,7 +81,7 @@
8181
<configuration>
8282
<transformers>
8383
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
84-
<mainClass>${project.groupId}.keeper.SecretsService</mainClass>
84+
<mainClass>${project.groupId}.credcat.SecretsService</mainClass>
8585
</transformer>
8686
</transformers>
8787
</configuration>
@@ -191,7 +191,7 @@
191191
<email>git@${source.account}.com</email>
192192
<id>${source.account}</id>
193193
<name>${source.account}</name>
194-
<organization>Information Technology</organization>
194+
<organization>${organization.name}</organization>
195195
<organizationUrl>https://${source.account}.com/</organizationUrl>
196196
</developer>
197197
</developers>
@@ -202,7 +202,7 @@
202202
</issueManagement>
203203

204204
<organization>
205-
<name>Information Technology</name>
205+
<name>${organization.name}</name>
206206
<url>https://${source.account}.com/</url>
207207
</organization>
208208

@@ -236,6 +236,7 @@
236236
<java.version>17</java.version>
237237
<maven.compiler.source>${java.version}</maven.compiler.source>
238238
<maven.compiler.target>${java.version}</maven.compiler.target>
239+
<organization.name>Gibberish Inc</organization.name>
239240
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
240241
<source.account>byteskeptical</source.account>
241242
<source.host>github.com</source.host>

src/main/java/com/byteskeptical/keeper/SecretsService.java renamed to src/main/java/com/byteskeptical/credcat/SecretsService.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package com.byteskeptical.keeper;
1+
package com.byteskeptical.credcat;
22

3-
import com.byteskeptical.keeper.model.KeeperRequest;
4-
import com.byteskeptical.keeper.model.SecretResponse;
5-
import com.byteskeptical.keeper.util.JsonHandler;
3+
import com.byteskeptical.credcat.model.KeeperRequest;
4+
import com.byteskeptical.credcat.model.SecretResponse;
5+
import com.byteskeptical.credcat.util.JsonHandler;
66
import com.keepersecurity.secretsManager.core.AccountNumber;
77
import com.keepersecurity.secretsManager.core.AddressRef;
88
import com.keepersecurity.secretsManager.core.Addresses;
@@ -69,7 +69,7 @@ public class SecretsService {
6969
* @return A string representing the service version.
7070
*/
7171
public String getVersion() {
72-
return "0.1337";
72+
return "1.0.0";
7373
}
7474

7575
/**

src/main/java/com/byteskeptical/keeper/model/KeeperRequest.java renamed to src/main/java/com/byteskeptical/credcat/model/KeeperRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.byteskeptical.keeper.model;
1+
package com.byteskeptical.credcat.model;
22

33
import java.util.List;
44

src/main/java/com/byteskeptical/keeper/model/SecretResponse.java renamed to src/main/java/com/byteskeptical/credcat/model/SecretResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.byteskeptical.keeper.model;
1+
package com.byteskeptical.credcat.model;
22

33
import java.util.List;
44
import java.util.Map;

src/main/java/com/byteskeptical/keeper/util/JsonHandler.java renamed to src/main/java/com/byteskeptical/credcat/util/JsonHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.byteskeptical.keeper.util;
1+
package com.byteskeptical.credcat.util;
22

33
import com.fasterxml.jackson.core.JsonProcessingException;
44
import com.fasterxml.jackson.databind.ObjectMapper;

src/test/java/com/byteskeptical/keeper/SecretsServiceTest.java renamed to src/test/java/com/byteskeptical/credcat/SecretsServiceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.byteskeptical.keeper;
1+
package com.byteskeptical.credcat;
22

33
import com.keepersecurity.secretsManager.core.KeeperRecord;
44
import com.keepersecurity.secretsManager.core.KeeperRecordData;
@@ -51,7 +51,7 @@ void setUp() {
5151

5252
@Test
5353
void getVersion_returnsCorrectVersion() {
54-
assertEquals("0.1337", service.getVersion(), "Version should match the defined string.");
54+
assertEquals("1.0.0", service.getVersion(), "Version should match the defined string.");
5555
}
5656

5757
@Test

0 commit comments

Comments
 (0)