Changeset 2365 in ProjectBuilder
- Timestamp:
- Feb 26, 2019, 1:37:40 AM (6 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
0.14.6/pb/bin/pb
r2327 r2365 4697 4697 4698 4698 # We still favour RSA and fall back to ECDSA if not available 4699 $keyfile = "$ENV{'HOME'}/.ssh/id_rsa" if (-s "$ENV{'HOME'}/.ssh/id_rsa");4699 #$keyfile = "$ENV{'HOME'}/.ssh/id_rsa" if (-s "$ENV{'HOME'}/.ssh/id_rsa"); 4700 4700 if ($rsa != 0) { 4701 4701 # And we favour a specific key over a generic one except if in delivery to ftp server -
devel/pb/bin/pb
r2362 r2365 1243 1243 } 1244 1244 1245 if (($pbtag =~ /:/) && ($scheme =~ /svn/)) { 1246 die "RPM doesn't support release tag with ':'. Try to svn up before running pb"; 1247 } 1248 1245 1249 pb_log(0,"\n"); 1246 1250 pb_log(0,"Management of $pbpkg $pbver-$pbtag\n"); … … 4816 4820 } 4817 4821 4818 # Some ECDSA implementation are not working correctly e.g. RHEL7, Fedora 20/214819 4822 if (!(-e "$ENV{'HOME'}/.ssh/pb_rsa") && ($create eq 1)) { 4820 4823 pb_system("ssh-keygen -q -b 2048 -N '' -f $ENV{'HOME'}/.ssh/pb_rsa -t rsa","Generating RSA SSH keys for pb"); … … 4822 4825 4823 4826 # We still favour RSA and fall back to ECDSA if not available 4824 $keyfile = "$ENV{'HOME'}/.ssh/id_rsa" if (-s "$ENV{'HOME'}/.ssh/id_rsa"); 4827 # Some ECDSA implementation are not working correctly e.g. RHEL7, Fedora 20/21 4828 #$keyfile = "$ENV{'HOME'}/.ssh/pb_rsa" if (-s "$ENV{'HOME'}/.ssh/pb_rsa"); 4825 4829 if ($rsa != 0) { 4826 4830 # And we favour a specific key over a generic one except if in delivery to ftp server
Note:
See TracChangeset
for help on using the changeset viewer.