FAQ  •  Register  •  Login
UKLockpickers.co.uk Lockpicking supplies such as Lockpicks, tools, and more! COMMANDOLOCK.COM Military grade padlock systems lockpickshop.com A source for lockpicking supplies such as lockpicks, locksmith tools, and more!

Master Keying schemes

<<

acedrew

Newbie

Posts: 5

Joined: Sat Mar 12, 2011 11:22 am

Location: United States

Post Sat Mar 12, 2011 11:49 am

Master Keying schemes

Hi, I'm new here.
I recently picked up lock-screwing-with as part of my responsibilities as a building manager.
I bought a few key dupe machines, some depth & space keys and a pin kit, and have been having fun keying all the locks for the building.
I live in the building so I decided I wanted to master key my office, loft, workshop, and various storage areas, to eliminate some keys from my ring. Being only about 6 locks and the maximum keys needed on 1 lock was 3, it was a pretty simple scheme. However it got me interested in master keying schemas.

SOOO I built a schema generator. It's a little ugly, but it works, right now it will generate (from a master you specify) (n) group masters with (n) sub keys for each group. It will generate most key types, although some of the parameters are hard coded at this time.

Right now it is hosted as a Google App Engine app, you can access it here:
http://pymasterkey.appspot.com
By default it generates 10 groups with 10 group masters, for a total of 110 keys based on a master key code of 555555, it also generates codes 0-9, as most of my locks are SC4, that is what I mess with most of the time.
Here is another example:
"http://pymasterkey.appspot.com?code=053525&groups=7&keys=5&type=6"

This would generate 7 groups of 5 keys each, with a type of 6, meaning that each pin can be a value of 0-5 with a master key of 053525
One of the parameters that is not currently editable, but is included in the application, it maximum adjacent cut difference, it is hard coded at 5. This means that a 0 next to a 5 is ok, but a 0 next to a 6 is not. Also, it is set to generate no more than 2 identical adjacent pins, meaning that 567740 is a valid code, but 577740 is not.


If anyone wants to see the source, the code is available here:
http://code.google.com/p/pymasterkey/

Let me know what you think.
Last edited by acedrew on Sat Mar 12, 2011 12:09 pm, edited 3 times in total.
<<

Solomon

User avatar

Prolific Poster

Posts: 947

Joined: Mon Aug 17, 2009 6:00 am

Location: Northern Ireland

Post Sat Mar 12, 2011 11:52 am

Re: Master Keying schemes

I only know the basics of master keying, but I see what you did and to me it looks very useful. This is one kick ass first post... welcome to the forum. :D
Image
<<

acedrew

Newbie

Posts: 5

Joined: Sat Mar 12, 2011 11:22 am

Location: United States

Post Sat Mar 12, 2011 12:08 pm

Re: Master Keying schemes

@Solomon
Well, I kinda thought I did a good job, but I also knew the OSS developers at code.google.com weren't exactly the target audience, so I thought I would take it to some of the forums that proved helpful when I was learning the basics...
<<

whizdumb

User avatar

Active Member

Posts: 393

Joined: Sun Oct 11, 2009 11:28 pm

Location: NJ, USA

Post Sat Mar 12, 2011 12:49 pm

Re: Master Keying schemes

I don't know if this is the right sub-forum to ask in.. Maybe try the pro locksmith area of KP. But good luck with your endeavor.
Image
Whizdumb81 wrote:You can't handle the DCAP
xe0 wrote:how about a peterson gov steel baseball bat so i can thwap motherfuckers
ecksdee wrote:To learn to pick locks is to learn how to speak a language spoken only in whispers and riddles.

http://www.youtube.com/user/HobbyPicker
<<

acedrew

Newbie

Posts: 5

Joined: Sat Mar 12, 2011 11:22 am

Location: United States

Post Sat Mar 12, 2011 1:14 pm

Re: Master Keying schemes

whizdumb81 wrote:I don't know if this is the right sub-forum to ask in.. Maybe try the pro locksmith area of KP. But good luck with your endeavor.


I'm sorry, perhaps I worded that wrong, I'm simply offering this as a resource. It's not really a question. I could create a duplicate post in the other forum, but perhaps that would be against site rules?

Andrew
<<

whizdumb

User avatar

Active Member

Posts: 393

Joined: Sun Oct 11, 2009 11:28 pm

Location: NJ, USA

Post Sat Mar 12, 2011 1:33 pm

Re: Master Keying schemes

Nope.. My bad...I thought you were asking how to improve you code scheme generator.. I re-read it and yep this is basically a home brew reference. We don't usually get software solutions in the homebrew section, But i guess this could be considered a good tool to help people with problem solving their Master Key Solutions. Good work.
Image
Whizdumb81 wrote:You can't handle the DCAP
xe0 wrote:how about a peterson gov steel baseball bat so i can thwap motherfuckers
ecksdee wrote:To learn to pick locks is to learn how to speak a language spoken only in whispers and riddles.

http://www.youtube.com/user/HobbyPicker
<<

acedrew

Newbie

Posts: 5

Joined: Sat Mar 12, 2011 11:22 am

Location: United States

Post Sat Mar 12, 2011 5:04 pm

Re: Master Keying schemes

It's all good, I do welcome feedback or added features, it really does everything I needed, (or didn't need but want)
This was kind of a trick project, my local locksmith wanted to charge $40 for a master scheme, while that's not an unreasonable request considering the software they have to purchase and such, for my simple scheme, I just didn't want to pay it. So the trick is that I wanted to learn python (programming language) and this is the project I used for that...

I'm just glad it works for my needs, one of the powerful features of Google App engine, is that I could have it store saved schemas using your google account login...
I doubt I'll ever flesh the project out that much, but if people use it, perhaps...

Andrew

Return to Home Brew

Who is online

Users browsing this forum: No registered users

Don't forget to visit our sponsors for all of your lockpicking needs!
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Grop
"CA Black" theme designed by stsoftware