Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ktor sample - fix CWE-1104 #114

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

ktor sample - fix CWE-1104 #114

wants to merge 2 commits into from

Conversation

tomsun28
Copy link
Member

Using a deprecated artifact repository may eventually give attackers access for a supply chain attack.

@tomsun28
Copy link
Member Author

Could not find artifact io.ktor:ktor-server-tomcat:jar:1.3.2 in central (https://repo.maven.apache.org/maven2)
so the https://jcenter.bintray.com and https://kotlin.bintray.com/ktor must be there

        <repository>
            <id>repo1</id>
            <url>https://jcenter.bintray.com</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>true</enabled></snapshots>
        </repository>
        <repository>
            <id>repo2</id>
            <url>https://kotlin.bintray.com/ktor</url>
            <releases><enabled>true</enabled></releases>
            <snapshots><enabled>true</enabled></snapshots>
        </repository>

Copy link
Member Author

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

samples/ktor-sureness/pom.xml Outdated Show resolved Hide resolved
samples/ktor-sureness/pom.xml Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant