Permalink
Browse files

public_key should be in pem format as stored in db

  • Loading branch information...
1 parent 94f0e2a commit 99eb725769408008d9c978e727f8b6c5d8d2b3af @rekado rekado committed May 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/libertree-client.rb
@@ -12,7 +12,7 @@
key = OpenSSL::PKey::RSA.new File.read(ARGV[0])
client = Libertree::Client.new(
private_key: key,
- public_key: key.public_key,
+ public_key: key.public_key.to_pem,
avatar_url_base: ARGV[2]
)

0 comments on commit 99eb725

Please sign in to comment.