Skip to content

Commit

Permalink
Revert "pre-commit: add hook to check for the existence of private ke…
Browse files Browse the repository at this point in the history
…ys (apache#7805)"

This reverts commit 0b4afed.
  • Loading branch information
DaanHoogland committed Aug 24, 2023
1 parent 7cdf864 commit bcda0c8
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcda0c8

Please sign in to comment.