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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
packages: write

jobs:
pypi:
publish:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
20 changes: 10 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,11 @@
<execution>
<configuration>
<gpgArguments>
<arg>--batch</arg>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
<keyname>${gpg.keyname}</keyname>
<passphraseServerId>${gpg.keyname}</passphraseServerId>
<useAgent>true</useAgent>
<passphrase>${env.GPG_KEY_PASS}</passphrase>
</configuration>
<goals>
<goal>sign</goal>
Expand All @@ -96,7 +94,7 @@
</execution>
</executions>
<groupId>org.apache.maven.plugins</groupId>
<version>1.6</version>
<version>3.2.8</version>
</plugin>

<plugin>
Expand Down Expand Up @@ -271,6 +269,13 @@
<url>https://${source.host}/${source.account}/${project.name}/issues</url>
</issueManagement>

<licenses>
<license>
<name>BSD 3-Clause "New" or "Revised" License</name>
<url>https://${source.host}/${source.account}/${project.name}/blob/root/LICENSE</url>
</license>
</licenses>

<organization>
<name>${organization.name}</name>
<url>https://${source.account}.com/</url>
Expand All @@ -293,9 +298,6 @@
</snapshotRepository>
</distributionManagement>
<id>github</id>
<properties>
<gpg.keyname>github</gpg.keyname>
</properties>
</profile>
<profile>
<distributionManagement>
Expand All @@ -310,13 +312,11 @@
</snapshotRepository>
</distributionManagement>
<id>ossrh</id>
<properties>
<gpg.keyname>ossrh</gpg.keyname>
</properties>
</profile>
</profiles>

<properties>
<gpg.keyname>0x31A10A56</gpg.keyname>
<java.version>17</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand Down
6 changes: 2 additions & 4 deletions src/main/java/com/byteskeptical/credcat/SecretsService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package com.byteskeptical.credcat.model;

import java.util.List;
import java.util.Map;

/**
* Record(s) fields format.
*/
Expand Down