fetch2/svn: Use server certificates going forward
PATCH 1/1 fetch2/svn: Use server certificates going forward
In the past, broken SSL certificates were common on subversion servers. As such, the subversion fetcher used to ignore these issues.
Cert infrastructure has massively improved since that decision was made and things like self signed certificates should no longer be common place.
We should follow good security practises and not have this as a default anymore, remove the --trust-server-cert commandline option by default.
Signed-off-by Richard Purdie <[email protected]>
--- lib/bb/fetch2/svn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/svn.py +1 -1
@@ -34,7 +34,7 @@ class Svn(FetchMethod): if not "module" in ud.parm: raise MissingParameterError('module', ud.url) - ud.basecmd = d.getVar("FETCHCMD_svn") or "/usr/bin/env svn --non-interactive --trust-server-cert" + ud.basecmd = d.getVar("FETCHCMD_svn") or "/usr/bin/env svn --non-interactive" ud.module = ud.parm["module"]