From bcda0c8b7f3f355f36302f270c10d3717b8877fe Mon Sep 17 00:00:00 2001 From: Daan Hoogland Date: Thu, 24 Aug 2023 14:41:49 +0200 Subject: [PATCH] Revert "pre-commit: add hook to check for the existence of private keys (#7805)" This reverts commit 0b4afedb5b52a5ba7747eb17169cc856eb9a9459. --- .pre-commit-config.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f7c3c0f90e17..73298a1400da 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,20 +34,7 @@ repos: #- id: check-merge-conflict - id: check-vcs-permalinks #- id: check-yaml - - id: detect-private-key - exclude: > - (?x) - ^scripts/vm/systemvm/id_rsa\.cloud$| - ^server/src/test/java/com/cloud/keystore/KeystoreTest\.java$| - ^server/src/test/resources/certs/dsa_self_signed\.key$| - ^server/src/test/resources/certs/non_root\.key$| - ^server/src/test/resources/certs/root_chain\.key$| - ^server/src/test/resources/certs/rsa_ca_signed\.key$| - ^server/src/test/resources/certs/rsa_self_signed_with_pwd\.key$| - ^server/src/test/resources/certs/rsa_self_signed\.key$| - ^services/console-proxy/rdpconsole/src/test/doc/rdp-key\.pem$| - ^systemvm/agent/certs/localhost\.key$| - ^systemvm/agent/certs/realhostip\.key$ + #- id: detect-private-key - id: end-of-file-fixer exclude: \.vhd$ #- id: fix-byte-order-marker