Troubleshooting Ruby Gem Install Errors When Using a Mac OS X. In order to install the bcrypt gem, Homebrew must be able to access the. Similar Software for Mac. Install scrypt on Mac OSX; Install transcrypt on Mac OSX; Install bcrypt on Mac OSX; Install onetime on Mac OSX; Install duplicity on Mac OSX; Install aescrypt-packetizer on Mac OSX; Install aespipe on Mac OSX; Install reop on Mac OSX; Install nacl on Mac OSX; Install pwsafe on Mac OSX.
An up to date fork of py-bcrypt, Python 3 and Python 2 compatible, compiles on Windows, Mac, Linux.
This repository is a continuation of the Google Code project, which has not been updated in more than a year.Most notably, this branch compiles under Windows, OSx and Linux, on both Python 3 and Python 2.These patches and this work is community driven, and your contributions will be actively accepted and reviewed.
Installation
Installation is a breeze!
If you are running windows, either follow this guide to configure Python to compile C extensios, or download a precompiled Windows installer! Scheduler for mac.
Usage
Simple example usage is as follows
Support
####This branch is automatically tested on:
- linux Python 2.6
- linux Python 2.7
- linux Python 3.2
- linux Python 3.3
####Manually tested on:
Python 2.7 X86 and Python 2.7 X86-64
- Windows 7 32bit and 64bit Visual C++ 2012 (MSVC11)
- Windows 7 32bit and 64bit Visual C++ 2010 (MSVC10)
- Windows 7 32bit and 64bit Visual C++ 2008 (MSVC9) (Same compiler as Python 2.7, suggested)
- Windows 8 32bit and 64bit Visual C++ 2008 (MSVC9) (Same compiler as Python 2.7, suggested)
Contributing
To help, clone this repository and get building!
To install, use the standard Python distutils incantation:
Pages online. Provides a complete suite of office software, complete with word processor. It includes all the essentials, and the TextMaker interface is designed to easily create interactive documents with fields and bookmarks that can be saved as PDFs. Google Docs is a free, cloud-based word processor which is supported by various systems. It also includes graphics and drawing features, as well as automatic spell-check in 58 languages.The latest suite, FreeOffice 2018, enables users to save documents in Microsoft document file formats of DOCX, XLSX and PPTX.FreeOffice 2018 is available for free download on macOS 10.10 or higher. This enables amendments and savings of all OpenOffice, LibreOffice and Microsoft Office documents.Unlike OpenOffice and LibreOffice, NeoOffice offers native file locking, which helps to secure files in iCloud Drive, Dropbox or network drives. Is an office suite for Mac, based on OpenOffice and LibreOffice.
Regression tests are located in tests/test.py
Contributions
The original authors whose patches are included in this author are:
benghattem@gmail.comProviding the basis for this patch, fixing compilation flags and ifdefs patch
florian.ruechel@gmail.comExtending the patch and fixing memset + bzero issues to make the code more standards compliant patch
Original README
py-bcrypt is an implementation the OpenBSD Blowfish password hashingalgorithm, as described in 'A Future-Adaptable Password Scheme' by NielsProvos and David Mazieres: http://www.openbsd.org/papers/bcrypt-paper.ps
This system hashes passwords using a version of Bruce Schneier'sBlowfish block cipher with modifications designed to raise the cost ofoff-line password cracking. The computation cost of the algorithm isparametised, so it can be increased as computers get faster.
py-bcrypt requires Python 2.4. Older versions may work, but thebcrypt.gensalt() method won't - it requires the cryptographic randomnumber generator os.urandom() introduced in 2.4.
To install, use the standard Python distutils incantation:
Regression tests are in the test/test.py file. This is deliberately ina subdirectory so it does not mistakenly pick up the top-level bcrypt/directory.
py-bcrypt is licensed under a ISC/BSD licence. The underlying Blowfishand password hashing code is taken from OpenBSD's libc. See the LICENSEfile for details.
Please report bugs to Damien Miller djm@mindrot.org. Please check theTODO file first, in case your problem is something I already know about(please send patches!)
A simple example that demonstrates most of the features:A simple example that demonstrates most of the features:
sudo npm install bcrypt
Password:
bcrypt@0.8.5 install /Users/kolinkoehl/node_modules/bcryptnode-gyp rebuild
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.
gyp ERR! build error gyp ERR! stack Error: make
failed with exit code: 69gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)gyp ERR! stack at emitTwo (events.js:87:13)gyp ERR! stack at ChildProcess.emit (events.js:172:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)gyp ERR! System Darwin 15.3.0gyp ERR! command '/usr/local/bin/node' '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js' 'rebuild'gyp ERR! cwd /Users/kolinkoehl/node_modules/bcryptgyp ERR! node -v v4.2.6gyp ERR! node-gyp -v v3.0.3gyp ERR! not ok npm ERR! Darwin 15.3.0npm ERR! argv '/usr/local/bin/node' '/usr/local/bin/npm' 'install' 'bcrypt'npm ERR! node v4.2.6npm ERR! npm v2.14.12npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.8.5 install: node-gyp rebuild
npm ERR! Exit status 1npm ERR! npm ERR! Failed at the bcrypt@0.8.5 install script 'node-gyp rebuild'.npm ERR! This is most likely a problem with the bcrypt package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuildnpm ERR! You can get their info via:npm ERR! npm owner ls bcryptnpm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:npm ERR! /Users/kolinkoehl/npm-debug.logKolins-MacBook-Pro-2:~ kolinkoehl$
Hey Kolin,
If you're on a Mac, did you try using Homebrew instead of NPM?
Make sure your Homebrew is up-to-date -- Run > brew update
Then run > brew install bcrypt
Give that a go.
Hi Jason, do I need to install Homebrew or can I not use npm?
Hey Fernando Boza
Homebrew is the goto Package Manager for Mac. Using Homebrew will also install need dependencies.
You can use npm if you want, just make sure you checkout the bcrypt docs for info and needed dependencies.
Next time, for anyone searching this, do sudo xcodebuild -license and agree to the terms of xcode. The reason why that happened above is because the OP recently updated his XCode and did not agree to the new terms. It happened to me as well :)
Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.