Skip to content

Commit ea99b64

Browse files
ShankarSinghCclaudehyperswitch-bot[bot]
authored
refactor: rename package from tartarus to hyperswitch-card-vault (#165)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
1 parent c2768d0 commit ea99b64

15 files changed

Lines changed: 83 additions & 83 deletions

File tree

.github/workflows/CI-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999

100100
- name: Run `cargo hack`
101101
shell: bash
102-
run: cargo hack check --each-feature --all-targets --package tartarus
102+
run: cargo hack check --each-feature --all-targets --package hyperswitch_card_vault
103103

104104
test:
105105
name: Run tests on stable toolchain

.github/workflows/CI-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060

6161
- name: Run `cargo hack`
6262
shell: bash
63-
run: cargo hack check --each-feature --all-targets --package tartarus
63+
run: cargo hack check --each-feature --all-targets --package hyperswitch_card_vault
6464

6565
test:
6666
name: Run tests on stable toolchain

Cargo.lock

Lines changed: 54 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "tartarus"
2+
name = "hyperswitch_card_vault"
33
version = "0.1.3"
44
edition = "2024"
55
default-run = "locker"

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Tartarus - Rust Locker
1+
# Hyperswitch Card Vault - Rust Locker
22

33

44
## Overview
55

6-
The Hyperswitch Card Vault (Tartarus) is a highly performant and a secure vault to save sensitive data such as payment card details, bank account details etc.
6+
The Hyperswitch Card Vault is a highly performant and a secure vault to save sensitive data such as payment card details, bank account details etc.
77

88
It is designed in an polymorphic manner to handle and store any type of sensitive information making it highly scalable with extensive coverage of payment methods and processors.
99

10-
Tartarus is built with a GDPR compliant personal identifiable information (PII) storage and secure encryption algorithms to be fully compliant with PCI DSS requirements.
10+
Hyperswitch Card Vault is built with a GDPR compliant personal identifiable information (PII) storage and secure encryption algorithms to be fully compliant with PCI DSS requirements.
1111

12-
Here's a quick guide to [Get Started](./docs/guides/setup.md) with setting up Tartarus.
12+
Here's a quick guide to [Get Started](./docs/guides/setup.md) with setting up Hyperswitch Card Vault.
1313

14-
### How does Tartarus work?
14+
### How does Hyperswitch Card Vault work?
1515

16-
- Your application will communicate with Tartarus via a middleware.
16+
- Your application will communicate with Hyperswitch Card Vault via a middleware.
1717
- All requests and responses to and from the middleware are signed and encrypted with the JWS and JWE algorithms.
1818
- The locker supports CRD APIs on the /data and /cards endpoints - <API Reference to be linked>
1919
- Cards are stored against the combination of merchant and customer identifiers.
@@ -30,4 +30,4 @@ Here's a quick guide to [Get Started](./docs/guides/setup.md) with setting up Ta
3030

3131
### Setup Guide
3232

33-
Follow this guide to setup Tartarus - [Get Started](./docs/guides/setup.md)
33+
Follow this guide to setup Hyperswitch Card Vault - [Get Started](./docs/guides/setup.md)

benches/encryption.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use rsa::{
1212
RsaPrivateKey, RsaPublicKey,
1313
pkcs8::{EncodePrivateKey, EncodePublicKey},
1414
};
15-
use tartarus::crypto::encryption_manager::{
15+
use hyperswitch_card_vault::crypto::encryption_manager::{
1616
encryption_interface::Encryption,
1717
managers::{aes, jw},
1818
};

benches/hashing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#![allow(clippy::missing_panics_doc)]
33

44
use criterion::{Criterion, black_box, criterion_group, criterion_main};
5-
use tartarus::crypto::hash_manager::{hash_interface::Encode, managers::sha::HmacSha512};
5+
use hyperswitch_card_vault::crypto::hash_manager::{hash_interface::Encode, managers::sha::HmacSha512};
66

77
const ITERATION: u32 = 14;
88

benches/luhn-test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use criterion::{Criterion, black_box, criterion_group, criterion_main};
2-
use tartarus::validations::{MAX_CARD_NUMBER_LENGTH, luhn};
2+
use hyperswitch_card_vault::validations::{MAX_CARD_NUMBER_LENGTH, luhn};
33

44
#[allow(clippy::expect_used)]
55
fn card_number_generator() -> Vec<u8> {

docs/collection/Tartarus.postman_collection.json renamed to docs/collection/hyperswitch-card-vault.postman_collection.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"info": {
33
"_postman_id": "c4ca9eca-2446-4011-bab0-dc0813ff737e",
4-
"name": "Tartarus",
4+
"name": "Hyperswitch Card Vault",
55
"description": "The is the API collection to test the card vault.\n\nIf you are newly deploying the card vault application, by using the docker images available here [juspaydotin/hyperswitch-card-vault](). You be required to unlock the locker using the key custodian API",
66
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
77
"_exporter_id": "23503638"

docs/guides/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Prerequisites for Locker API Testing
22

3-
A postman collection is included in `docs/collection/Tartarus.postman_collection.json` for testing the Locker API. The collection contains requests for all the endpoints of the Locker API.
3+
A postman collection is included in `docs/collection/hyperswitch-card-vault.postman_collection.json` for testing the Locker API. The collection contains requests for all the endpoints of the Locker API.
44

55
Note: The requests in the Postman collection will not work when the `middleware` feature is enabled. This is because the requests need to be JWE (JSON Web Encryption) + JWS (JSON Web Signature) encrypted.
66

0 commit comments

Comments
 (0)