Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,28 @@ 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'
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-version: '21'

steps:
- uses: actions/checkout@v4
Expand All @@ -25,6 +44,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 }}
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
<h3 align="center">credcat</h3>

<p align="center">
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.
<br />
<a href="https://github.com/byteskeptical/credcat"><strong>Explore the docs »</strong></a>
<br />
<br />
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=bug&template=bug-report---.md">Report Bug</a>
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=bug">Report Bug</a>
&middot;
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=enhancement&template=feature-request---.md">Request Feature</a>
<a href="https://github.com/byteskeptical/credcat/issues/new?labels=enhancement">Request Feature</a>
</p>
</div>

Expand Down Expand Up @@ -72,7 +72,10 @@
<!-- ABOUT THE PROJECT -->
## 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.

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

Expand All @@ -91,8 +94,8 @@ _Java is like a bad relationship. It's too object-oriented_
<!-- GETTING STARTED -->
## 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

Expand Down Expand Up @@ -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
Expand All @@ -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",
Expand Down Expand Up @@ -284,7 +287,7 @@ Don't forget to give the project a star! Thanks again!
<!-- LICENSE -->
## License

Distributed under the project_license. See `LICENSE.txt` for more information.
Distributed under the project_license. See `LICENSE` for more information.

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

Expand Down
11 changes: 6 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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">

<artifactId>credpeek</artifactId>
<artifactId>credcat</artifactId>
<groupId>com.byteskeptical</groupId>
<inceptionYear>2025</inceptionYear>
<modelVersion>4.0.0</modelVersion>
<name>credpeek</name>
<name>credcat</name>
<packaging>jar</packaging>
<url>https://${source.host}/${source.account}/${project.name}/</url>
<version>1.0.0</version>
Expand Down Expand Up @@ -81,7 +81,7 @@
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>${project.groupId}.keeper.SecretsService</mainClass>
<mainClass>${project.groupId}.credcat.SecretsService</mainClass>
</transformer>
</transformers>
</configuration>
Expand Down Expand Up @@ -191,7 +191,7 @@
<email>git@${source.account}.com</email>
<id>${source.account}</id>
<name>${source.account}</name>
<organization>Information Technology</organization>
<organization>${organization.name}</organization>
<organizationUrl>https://${source.account}.com/</organizationUrl>
</developer>
</developers>
Expand All @@ -202,7 +202,7 @@
</issueManagement>

<organization>
<name>Information Technology</name>
<name>${organization.name}</name>
<url>https://${source.account}.com/</url>
</organization>

Expand Down Expand Up @@ -236,6 +236,7 @@
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<organization.name>Gibberish Inc</organization.name>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<source.account>byteskeptical</source.account>
<source.host>github.com</source.host>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -69,7 +69,7 @@ public class SecretsService {
* @return A string representing the service version.
*/
public String getVersion() {
return "0.1337";
return "1.0.0";
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.byteskeptical.keeper.model;
package com.byteskeptical.credcat.model;

import java.util.List;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.byteskeptical.keeper.model;
package com.byteskeptical.credcat.model;

import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.byteskeptical.keeper;
package com.byteskeptical.credcat;

import com.keepersecurity.secretsManager.core.KeeperRecord;
import com.keepersecurity.secretsManager.core.KeeperRecordData;
Expand Down Expand Up @@ -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
Expand Down
Loading