Rename quack to quak
German for 'quack', matching the Ente (German for 'duck') naming. All references updated: package name, CLI binary, X-Client-Package header, test descriptions, temp dir prefixes, README, Makefile docker tag.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const DEFAULT_API_ORIGIN = "https://api.ente.io";
|
||||
const DEFAULT_FILES_ORIGIN = "https://files.ente.io";
|
||||
const DEFAULT_THUMBS_ORIGIN = "https://thumbnails.ente.io";
|
||||
const CLIENT_PACKAGE = "berlin.sneak.quack";
|
||||
const CLIENT_PACKAGE = "berlin.sneak.quak";
|
||||
|
||||
export interface ApiClientOptions {
|
||||
apiOrigin?: string;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
export type Base64 = string;
|
||||
|
||||
// The blob the server returns alongside the auth token after a successful
|
||||
// login. Together with the user's password, this is everything quack needs
|
||||
// login. Together with the user's password, this is everything quak needs
|
||||
// to derive the master key, secret key, and auth token.
|
||||
export interface KeyAttributes {
|
||||
kekSalt: Base64;
|
||||
|
||||
@@ -86,7 +86,7 @@ export class Client {
|
||||
const code = await opts.emailOTP();
|
||||
response = await submitEmailOTP(api, opts.email, code);
|
||||
} else if (challenge.kind === "passkey") {
|
||||
throw new Error("Passkey authentication is not supported by quack");
|
||||
throw new Error("Passkey authentication is not supported by quak");
|
||||
} else {
|
||||
throw new Error(`Unknown login challenge kind`);
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import sodium from "libsodium-wrappers-sumo";
|
||||
|
||||
// Argon2id over (password, salt, opsLimit, memLimit) producing a 32-byte
|
||||
// Key Encryption Key. Parameters come from the server; quack passes them
|
||||
// Key Encryption Key. Parameters come from the server; quak passes them
|
||||
// straight through. memLimit is in bytes, opsLimit is the iteration count.
|
||||
export const deriveKEK = async (
|
||||
password: string,
|
||||
|
||||
Reference in New Issue
Block a user