Skip to content
This repository has been archived by the owner. It is now read-only.

Putty: puttygen: Assertion failed #25734

Closed
kabo opened this issue Jan 8, 2014 · 19 comments

Comments

@kabo
Copy link

commented Jan 8, 2014

After brew install putty I tried running puttygen xxx.ppk -O private-openssh -o xxx.pem to convert a ppk to pem. But I got:

Assertion failed: (random_active), function random_byte, file ./../sshrand.c, line 313.
Abort trap: 6

Mac OS X 10.9.1, Brew 0.9.5

@SergeyTsaplin

This comment has been minimized.

Copy link

commented Jan 9, 2014

I've got the same error

@adamv

This comment has been minimized.

Copy link
Contributor

commented Jan 9, 2014

Does this error happen if the software is compiled from source outside of Homebrew?

@SergeyTsaplin

This comment has been minimized.

Copy link

commented Jan 9, 2014

I tried to install putty-0.63 from sources. And this error happens again. By the way it's putty's bug

@adamv

This comment has been minimized.

Copy link
Contributor

commented Jan 9, 2014

Please report upstream to putty, nothing we can do if we're not miscompiling it.

@juanpasolano

This comment has been minimized.

Copy link

commented Mar 19, 2014

Same error here

@adamv

This comment has been minimized.

Copy link
Contributor

commented Mar 19, 2014

Please report upstream to putty.

@adamv

This comment has been minimized.

Copy link
Contributor

commented Apr 12, 2014

Someone who is having this problem should report it directly to the Putty project. Since this happens when compiling from sources outside of Homebrew, it is not a Homebrew issue per se.

@adamv adamv closed this Apr 12, 2014

@gordonmcshane

This comment has been minimized.

Copy link
Contributor

commented Apr 28, 2014

This was patched in the putty svn

A quick head-only formula to brew latest:
https://gist.github.com/gordonmcshane/11359791

@adamv

This comment has been minimized.

Copy link
Contributor

commented Apr 28, 2014

Please make a pull request.

@TheFiZi

This comment has been minimized.

Copy link

commented May 27, 2014

I'm getting this error with a fresh install of Putty 0.63.

I'm running a case-sensitive file system and try to convert a PPK to a RSA Private Key

Enter passphrase to load key: 
Assertion failed: (random_active), function random_byte, file ./unix/../sshrand.c, line 313.
Abort trap: 6

Brew 0.9.5 and Mac OS 10.9.3

@gordonmcshane

This comment has been minimized.

Copy link
Contributor

commented May 30, 2014

This is a known issue in 0.63. You must brew with --HEAD to build from Putty's svn, which has a fix for the bug.

@TheFiZi

This comment has been minimized.

Copy link

commented May 30, 2014

Thank you.

@oddskool

This comment has been minimized.

Copy link

commented Jun 19, 2014

(+1) Amazing community, thanks !

@unfinishedteleporter

This comment has been minimized.

Copy link

commented Aug 18, 2014

This just helped me out, thanks!

@flaccid

This comment has been minimized.

Copy link

commented Sep 2, 2014

For Arch Linux use https://aur.archlinux.org/packages/putty-svn/ until next version is available.

@CarlQLange

This comment has been minimized.

Copy link

commented Feb 12, 2015

Sorry for resurrecting an old thread.
Sickeningly, tartarus.org (where PuTTY's svn is hosted) is down. I don't suppose anyone here knows a full recent mirror?

@CarlQLange

This comment has been minimized.

Copy link

commented Feb 12, 2015

Nevermind - did apt-get install putty-tools on a linux VM instead. That was a bad time

@zenoyu

This comment has been minimized.

Copy link

commented Apr 23, 2015

For mac user using brew, to fix this you need to uninstall first

brew uninstall putty
brew install --HEAD putty

@mdruilhe

This comment has been minimized.

Copy link

commented Oct 16, 2015

Hello,

brew uninstall putty
brew install --HEAD putty

Sorry, but I'm getting the same error after reinstalling putty.
Any clue on this ?
TIA

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
You can’t perform that action at this time.