Displaying 20 results from an estimated 40000 matches similar to: "md5 documentation (newbie)"
2017 Mar 26
0
Tip: update dovecot MD5 password from PAM
> On March 26, 2017 at 2:24 PM Steinar Bang <sb at dod.no> wrote:
>
>
> >>>>> Aki Tuomi <aki.tuomi at dovecot.fi>:
>
> > On 2017-03-25 17:54, Steinar Bang wrote:
> >> This is a PAM module that listens for password changes, and will update
> >> the MD5 password for a user, in a file that dovecot can read, when the
> >>
2017 Mar 26
3
Tip: update dovecot MD5 password from PAM
>>>>> Aki Tuomi <aki.tuomi at dovecot.fi>:
> On 2017-03-25 17:54, Steinar Bang wrote:
>> This is a PAM module that listens for password changes, and will update
>> the MD5 password for a user, in a file that dovecot can read, when the
>> user's password is changed:
>> https://github.com/steinarb/pam_dovecotmd5pwd
>>
>> Caveat
2017 Mar 25
0
Tip: update dovecot MD5 password from PAM
On 2017-03-25 17:54, Steinar Bang wrote:
> This is a PAM module that listens for password changes, and will update
> the MD5 password for a user, in a file that dovecot can read, when the
> user's password is changed:
> https://github.com/steinarb/pam_dovecotmd5pwd
>
> Caveat emptor! (Works for me...! :-) )
Maybe you could update the PAM module to upgrade user's
2006 Jun 27
3
Most stable Asterisk version
Hi there,
I am getting ready to set up a production Asterisk system. It needs to be
stable. Upgrading, patching, rebooting, troubleshooting etc. are pretty
much NOT an option once this thing is deployed. Like any phone system, it
is expected to just work.
Having said that, which is the best version and subversion of Asterisk to
use? I was leaning towards 1.2 but it appears there are some
2012 Jan 27
0
Warden - how to setup custom encryptor
I`m writting sinatra app and i would like to setup encryption in Warden
like i did it in devise when i used Rails.
module Devise
module Encryptors
class Md5 < Base
def self.digest(password, stretches, salt, pepper)
str = [password].flatten.compact.join
Digest::MD5.hexdigest(Digest::MD5.hexdigest(str))
end
end
end
end
Where I can
2006 Aug 07
2
NoMethod Error: Modifying Location of support modules
I''m trying to follow along with the Agile Development with Ruby on Rails
book and have encountered a problem with code having the following
syntax (partial class provided):
require "digest/sha1"
class User < ActiveRecord::Base
private
def self.hash_password(password)
Digest:SHA1.hexdigest(password)
end
end
I''m getting an error as:
undefined method
2008 Dec 13
2
Need Help in converting php encryption decryption code to ruby on rails
Hi guys i found this encryption decryption in php and try to convert
it in rails but i am unable to successfully convert it. So plz help
me. I you write the whole conversion code then it will be great.
PHP code is like this
================
#
#/**********************************************
#**
#** MD5 block cypher
#**
#** Author..: leapinglangoor [
2008 Mar 11
0
Facebooker-talk Digest, Vol 5, Issue 12
Hi all,
I wanted to test requests from internal facebook apps, so I''ve been
mimicking FBML requests from facebook in my tests using the following:
def test_can_facebook_internal_app_login
fb_login_as :facebooker
num_of_members = Member.count
facebook_request :get, :home
assert_response :success
assert_equal num_of_members, Member.count
2008 Mar 11
0
Facebook_request in unit tests
Apologies for not chaning the subject line. :(
Hi all,
I wanted to test requests from internal facebook apps, so I''ve been
mimicking FBML requests from facebook in my tests using the following:
def test_can_facebook_internal_app_login
fb_login_as :facebooker
num_of_members = Member.count
facebook_request :get, :home
assert_response :success
assert_equal
2008 Sep 12
5
cram-md5 and users maintaining their own passwords?
Is there any other mechanism than using passwd files with md5-hashed
passwords created by dovecotpw that will support cram-md5
authentication?
Has anyone created setups where the passwd databases reside in the
individual users home directories?
Is it possible to persuade dovecotpw to update the passwd databases
automatically. Having to use a text editor to paste in the passwords
sets a high
2010 Feb 19
0
[PATCH] Help reduce size of iso by symlinking initrd's from isolinux/ and EFI/boot if md5's match
116M ovirt-node-image/ovirt-node-image.iso
119M ovirt-node-image.iso.edited.iso
---
edit-livecd.py | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/edit-livecd.py b/edit-livecd.py
index 279b225..ebcb7a6 100644
--- a/edit-livecd.py
+++ b/edit-livecd.py
@@ -26,7 +26,7 @@ import shutil
import subprocess
import optparse
import logging
-
+import
2006 Mar 23
0
Newbie; Upgrading from Ruby 1.8.2 to Ruby 1.8.4
I am currently running Rails 1.0.0.
I''d like to upgrade from Ruby 1.8.2 to Ruby 1.8.4 on Windows XP.
Do I just download a tarball and unzip it into my Ruby install
directory?
Do I need to do anything to re-register my currently downloaded Gems?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2009 Nov 09
4
Decrypt a admin password (with salt)
Hello,
I want decrypt a password which is encrypted by MD5.
there are 4 functions which i am using :
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{salt}--#{password}--")
end
# Encrypts the password with the user salt
def encrypt(password)
self.class.encrypt(password, salt)
end
def authenticated?(password)
2015 Jun 30
2
how is the sha fingerprint generated?
You really don't need openssl for that.
And the fingerprints are simple.
Here is a python script that do the same as ssh-keygen
-fl /path/to/key :
#!/usr/bin/env python3
import binascii
import hashlib
import sys
if __name__ == "__main__":
key = binascii.a2b_base64(sys.argv[1])
if sys.argv[2] == "md5":
m = hashlib.new("md5")
2006 Mar 04
4
Two quick newbie questions
2 quick questions regarding authentication ...
1) the flash[:notice] on successful login looks completely wrong to me.
How should it be done?
def index
if request.post?
@user = User.new(params[:user])
authentic_user = @user.attempt_login
if authentic_user
session[:user_id] = authentic_user.id
flash[:notice] =
''Login successful! Welcome
2006 Feb 14
0
Winbind problem w/ ADS domain local group and other-domain members
This one is probably going off into the esoteric side of things, but
Samba/winbind doesn't seem to be working quite as expected in one
particular area -- domain local groups having members from other
trusted domains. I've searched extensively (google and
elsewhere...), and have found little/no mention of this particular
problem: "domain local group" members from other
2006 Nov 16
1
Assigning to results - missing something
Hi,
I''m trying to convert an app to use 0.2.0, and having a little trouble
understanding how to use the results hash.
Formerly my worker had an instance variable, @file_stats which was
initialized to an empty hash; I have replaced @file_stats with
results[:file_hash]. Actually my initial pass at this was just to do a
s/@file_stats/results[:file_hash]/. Which gets me the following:
2017 Mar 25
2
Tip: update dovecot MD5 password from PAM
This is a PAM module that listens for password changes, and will update
the MD5 password for a user, in a file that dovecot can read, when the
user's password is changed:
https://github.com/steinarb/pam_dovecotmd5pwd
Caveat emptor! (Works for me...! :-) )
2017 Mar 26
1
Tip: update dovecot MD5 password from PAM
>>>>> Aki Tuomi <aki.tuomi at dovecot.fi>:
> Is there some reason you cannot protect your users with TLS/SSL?
I do use SSL. I don't understand what that have to do with the
preference of CRAM-MD5 over plain text auth?
> Using CRAM-MD5 is not very secure option, since you have to store the
> password in clear text. Plain MD5 is almost plaintext these days.
I
2013 May 12
2
Looking for a good way to manage passwords for CRAM-MD5
I prefer not to use clear text passwords, even over an encrypted
connection. With IMAP, the only such mechanism with widespread client
support is CRAM-MD5 (please correct my if I'm wrong... I'd love to be
corrected here...).
On the dovecot 2 wiki, the only way I've found to implement CRAM-MD5
support, is to use a passwd-like file:
http://wiki2.dovecot.org/HowTo/CRAM-MD5
I am