GitHub user marob opened a pull request:

    https://github.com/apache/maven-wagon/pull/16

    Prevent fingerprints loss in know_hosts

    Currently, when adding new fingerprints the whole know_hosts file is 
rewritten from the loaded fingerprints.
    But only fingerprints with a compatible algorithm (from jsch point of view) 
are kept: for example, all "ecdsa-sha2-nistp256" are lost!
    
    Hence this pull request that appends the new fingerprint in the known_hosts 
file (without modifying the rest of the file) and keeps unknown fingerprints 
with unknown algorithms.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/marob/maven-wagon master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-wagon/pull/16.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #16
    
----
commit f78c87d8916d1cea9572ae2921f9a588c9bfe0f1
Author: marob <ma...@smile.fr>
Date:   2014-11-26T17:46:32Z

    Append in known_host instead of the current "clean and write" that
    filters unknown formats (like ecdsa-sha2-nistp256)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to