This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WITH | |
Snapshots AS ( | |
SELECT TIMESTAMP_TRUNC(MAX(SnapshotAt), DAY) AS Latest | |
FROM `bigquery-public-data.deps_dev_v1.PackageVersionsLatest` | |
WHERE system = 'MAVEN' | |
LIMIT 1 | |
), | |
ReadyArtifacts AS ( | |
SELECT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There appears to be a string encoded in the binary payload: | |
https://gist.github.com/q3k/af3d93b6a1f399de28fe194add452d01#file-hashes-txt-L115 | |
Which functions as a killswitch: | |
https://piaille.fr/@zeno/112185928685603910 | |
Thus, one workaround for affected systems might be to add this to `/etc/environment`: | |
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import build.less.plugin.settings.buildless | |
plugins { | |
id("build.less") version "1.0.0-beta1" | |
} | |
buildless { | |
// settings go here | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'build.less' version '1.0.0-beta1' | |
} | |
buildless { | |
// settings go here | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'build.less' version '1.0.0-beta1' | |
} | |
buildless { | |
// settings go here | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# set these in your ~/.gradle/gradle.properties to fix gradle toolchain issues with Elide. | |
# (this is a temporary fix until the GraalVM toolchain plugin is fully built). | |
# fix for GraalVM toolchain | |
versions.java.language=19 | |
org.gradle.java.installations.paths=/Library/Java/JavaVirtualMachines/gvm-ce.jdk19/Contents/Home | |
org.gradle.java.home=/Library/Java/JavaVirtualMachines/gvm-ce.jdk19/Contents/Home | |
# repositories for Elide | |
elide.publish.repo.maven = gcs://elide-snapshots/repository/v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
did:3:kjzl6cwe1jw145avw57b0udbnrk7gac9bbx83x7lkhiewr0so2tetaloleew3nh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.passbase.sample | |
import com.fasterxml.jackson.databind.ObjectMapper | |
import com.fasterxml.jackson.databind.SerializationFeature | |
import com.fasterxml.jackson.module.kotlin.registerKotlinModule | |
import java.io.* | |
import java.nio.charset.StandardCharsets | |
import java.security.* | |
import java.security.spec.PKCS8EncodedKeySpec | |
import java.util.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CryptoLogic { | |
companion object { | |
const val metadataCipher = "RSA/None/PKCS1Padding" | |
} | |
fun <R> encryptMetadata(plaintext: String, callback: (String) -> R): R { | |
return withPublicKey(/* key info... */) { publicKey -> | |
// initialize the cipher with the resolved public key | |
val cipher: Cipher = Cipher.getInstance(metadataCipher) | |
cipher.init(Cipher.ENCRYPT_MODE, publicKey) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports_files([ | |
"README.md", | |
"cfe-v1.js", | |
]) | |
cargo_build_script( | |
name = "worker_builder", | |
srcs = ["build.rs"], | |
rustc_env = {"CARGO_PKG_VERSION": RUST_CARGO_VERSION}, |
NewerOlder