guitarrapc / git-shallow-clone-orb

circleci orb to execute git shallow clone for faster checkout.
https://circleci.com/orbs/registry/orb/guitarrapc/git-shallow-clone
MIT License
21 stars 11 forks source link

Bug: #42

Closed stepancar closed 1 year ago

stepancar commented 1 year ago

Is there an existing issue for this?

Orb version

2.4.1

Current behavior

I started getting such message

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for github.com has changed,
and the key for the corresponding IP address
is unknown. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.

Switching to regular circle ci checkout it's gone

Minimum reproduction config

orbs:
    docker: circleci/docker@1.5.0
    slack: circleci/slack@4.1
    git-shallow-clone: guitarrapc/git-shallow-clone@2.4.1
jobs:
    lint:
        working_directory: ~/repo
        steps:
            - git-shallow-clone/checkout:
                  depth: 1

Other

no

stepancar commented 1 year ago

Ok, I see you already released fix