Ignite Realtime Blog: Smack 4.5.0-alpha2 released
We are happy to announce the release of the second alpha release of Smack’s upcoming 4.5 version.
This version fixes a nasty bug in Smack’s reactor, includes support for XMPP over WebSocket connections and much more. Even though Smack has a good test coverage, due its comprehensive unit test suite and integration test framework, we kindly ask you to test pre-releases and report feedback.
As always, [this Smack release is available via Maven C … ⌘ Read more
macOS Sonoma 14.2 RC Issued for Testing, Final Release Coming Soon
Mac users enrolled in the beta testing program for macOS Sonoma will find 14.2 available as a release candidate. Release Candidate builds are typically the final version in the beta cycle, suggesting a release of macOS Sonoma 14.2 to the general public is imminent. Additionally, Apple has issued RC builds for other beta system software … [Read More](https://osxdaily.com/2023/12/06/macos-sonoma-14-2-rc- … ⌘ Read more
iOS 17.2 RC Released for Testing, Final Coming Soon
Apple has issued a release candidate (RC) build for iOS 17.2 for iPhone and iPadOS 17.2 for iPad. Release Candidates are typically the last of the beta development cycle, unless some additional significant bug or security issue is found, suggesting that the final version of iOS 17.2 and iPadOS 17.2 will be coming in the … Read More ⌘ Read more
Testing out Jenny. If this works I will setup Jenny with mutt.
Beta 4 of iOS 17.2, iPadOS 17.2, MacOS Sonoma 14.2 Released for Testing
Apple has released another round of betas for their operating system suite, with iOS 17.2 beta 4 for iPhone, iPadOS 17.2 beta 4 for iPad, and macOS Sonoma 14.2 beta 4 for Mac, each being available to users participating in the beta testing programs for Apple system software. Some new features are coming with iOS … [Read More](https://osxdaily.com/2023/11/29/beta-4-of-ios-17-2-ipados-17-2-macos … ⌘ Read more
Evernote Pushes Users To Upgrade
After making steep cuts to personnel earlier this year, Evernote’s Milan-based owner Bending Spoons is now experimenting with a new plan that would push more users to upgrade to paid versions of its service. From a report: The company confirmed to TechCrunch it’s been running a small test that placed limits on the number of notes free users could create, but said the new plan is not yet finalized. TechCrunch was al … ⌘ Read more
ProcessOne: Automatic schema update in ejabberd
ejabberd 23.10 has a new feature that is currently in beta testing:
Automatic relational schema creation and update.
Previously, if you were using ejabberd with an external relational database, you might have to manually apply some schema changes that come with new features when you upgrade to a new ejabberd release. ejabberd can now handle this schema upgrade automat … ⌘ Read more
@movq@www.uninformativ.de I lasted for a long time.. Not sure where or when it was “got”. We had been having a cold go around with the kiddos for about a week when the wife started getting sicker than normal. Did a test and she was positive. We tested the rest of the fam and got nothing. Till about 2 days later and myself and the others were positive. It largely hasn’t been too bad a little feaver and stuffy noses.
But whatever it was that hit a few days ago was horrible. Like whatever switch in my head that goes to sleep mode was shut off. I would lay down and even though I felt sleepy, I couldn’t actually go to sleep. The anxiety hit soon after and I was just awake with no relief. And it persisted that way for three nights. I got some meds from the clinic that seemed to finally get me to sleep.
Now the morning after I realized for all that time a part of me was missing. I would close my eyes and it would just go dark. No imagination, no pictures, nothing. Normally I can visualize things as I read or think about stuff.. But for the last few days it was just nothing. The waking up to it was quite shocking.
Though its just the first night.. I guess I’ll have to see if it persists. 🤞
@movq@www.uninformativ.de I lasted for a long time.. Not sure where or when it was “got”. We had been having a cold go around with the kiddos for about a week when the wife started getting sicker than normal. Did a test and she was positive. We tested the rest of the fam and got nothing. Till about 2 days later and myself and the others were positive. It largely hasn’t been too bad a little feaver and stuffy noses.
But whatever it was that hit a few days ago was horrible. Like whatever switch in my head that goes to sleep mode was shut off. I would lay down and even though I felt sleepy, I couldn’t actually go to sleep. The anxiety hit soon after and I was just awake with no relief. And it persisted that way for three nights. I got some meds from the clinic that seemed to finally get me to sleep.
Now the morning after I realized for all that time a part of me was missing. I would close my eyes and it would just go dark. No imagination, no pictures, nothing. Normally I can visualize things as I read or think about stuff.. But for the last few days it was just nothing. The waking up to it was quite shocking.
Though its just the first night.. I guess I’ll have to see if it persists. 🤞
Beta 3 of iOS 17.2, iPadOS 17.2, MacOS Sonoma 14.2 Released for Testing
The third beta version of iOS 17.2 for iPhone, iPadOS 17.2 for iPad, and macOS Sonoma 14.2 for Mac, have been released for users engaging in the beta testing programs for Apple system software. Betas of iOS 17.2, macOS Sonoma 14.2, and iPadOS 17.2, includes the ability to add stickers to your iMessages from long-tap/click … [Read More](https://osxdaily.com/2023/11/14/beta-3-of-ios-17-2-ipados- … ⌘ Read more
Testing posting for my new http://darch.dk/timeline/
Beta 2 of iOS 17.2, iPadOS 17.2, MacOS Sonoma 14.2 Released for Testing
Apple has released the second beta versions of iOS 17.2 for iPhone, iPadOS 17.2 for iPad, and macOS Sonoma 14.2 for Mac. The beta versions are available now to users participating in the beta testing programs for iOS, iPadOS, and macOS. iOS 17.2 beta includes the Journal app, which lets users track their lives in … [Read More](https://osxdaily.com/2023/11/10/beta-2-of-ios-17-2-ipados-17-2-maco … ⌘ Read more
Introducing AI-powered application security testing with GitHub Advanced Security
Learn about how GitHub Advanced Security’s new AI-powered features can help you secure your code more efficiently than ever.
The post Introducing AI-powered application security testing with GitHub Advanced Security appeared first on The GitHub Blog. ⌘ Read more
First issue I ran into is rapidjson, there is no package for it, but it compiled from source without google tests. But I did not check what version I had on my debian machine, so I need to check that and compile the same version on openbsd. Ill work on that tomorrow.
Messed up the configuration of the nut UPS monitor so bad it actually initialised an UPS test where the device switched itself off on the reboot of the PC. No idea how that happened. So uninstalled it again.
@movq@www.uninformativ.de @lyse@lyse.isobeef.org Nice! Always nice to do a walk, and fun to test stuff like GPS and such :) I’ve been walking a bit as well today, but also had some nice time at home, I work a bit this weekend, so I’ve spent some time on that. But also we went to the mall and such. Now we’re baking pizza. And will watch a movie or something when the kids has gone to sleep tonight. :)
7b7c7 here, gotta love CGNAT and ISP-level DHCP. Testing IE6’s gopher implementation on a vintage machine.
@mckinley@twtxt.net Never used that. i typically just use official debian testing image to install with.
Release Candidate of iOS 17.1, MacOS Sonoma 14.1, iPadOS 17.1, Released for Testing
iOS 17.1 RC, iPadOS 17.1 RC, and MacOS Sonoma 14.1 RC, have been released by Apple and are now available for users involved in the beta testing programs for Apple system software. The RC (Release Candidate) build is initially available for developers, but the public beta version is soon followed. While iOS 17.1, iPadOS 17.1, … [Read More](https://osxdaily.com/2023/10/17/ … ⌘ Read more
testing https://duckduckgo.com test test
Beta 3 of iOS 17.1, iPadOS 17.1, MacOS Sonoma 14.1 Released for Testers
Apple has released the third beta versions of iOS 17.1, iPadOS 17.1, and MacOS Sonoma 14.1, for users who are enrolled in the beta testing programs for Apple system software. As usual, the betas are first available to developers, and then are soon followed by the same build for public beta testers. Apple announced several … [Read More](https://osxdaily.com/2023/10/10/beta-3-of-ios-17-1-ipados- … ⌘ Read more
@prologic@twtxt.net I do that now, and all that works, it’s just that I do not (currently) check it multiple times, in the test I did it completed as soon as the image was uploaded. But yeah I have to do some more with that for bigger files for sure. I’ll look into that next.
Beta 2 of iOS 17.1, iPadOS 17.1, MacOS Sonoma 14.1 Released for Testing
Apple has issued the second beta versions of MacOS Sonoma 14.1, iOS 17.1, and iPadoS 17.1, for users who are participating in those beta testing programs. The beta 2 builds are available first for edevelopers, and are soon followed by public betas. iOS 17.1, iPadOS 17.1, and MacOS Sonoma 14.1 will likely include some new … [Read More](https://osxdaily.com/2023/10/03/beta-2-of-ios-17-1-ipados-1 … ⌘ Read more
How to Stop Getting Beta MacOS Updates in MacOS Sonoma
If you’ve already installed and updated to MacOS Sonoma, and you were previously in the beta testing programs (either public beta or developer beta), you may wish to no longer receive beta updates to your Mac. If you don’t do this, and you were previously enrolled in the MacOS Sonoma beta testing program, you will … Read More ⌘ Read more
How to Remove iOS 17 Beta From Your iPhone & iPad
If you were part of the iOS 17 beta test or iPadOS 17 beta testing programs, and now you’re on the latest stable build (iOS 17.0.2), you may wish to remove the beta updates from your iPhone or iPad, so that you no longer receive beta updates and stay on the stable builds of system … Read More ⌘ Read more
Get Started with the Microcks Docker Extension for API Mocking and Testing
Read how running Microcks as a Docker extension enables developers to swiftly create, test, and iterate on APIs without leaving the Docker environment. ⌘ Read more
MacOS Sonoma 14.1 Beta Available to Download
Apple has issued the first beta version of MacOS Sonoma 14.1 beta to users enrolled in the beta testing program for Apple system software. The beta update arrives just a day after the final release and availability of MacOS Sonoma 14.0 became available to download and install for all Mac users. Separately, Apple has released … Read More ⌘ Read more
iOS 17.1 Beta & iPadOS 17.1 Beta Available Now
Apple has released the first beta versions of iOS 17.1 and iPadOS 17.1 for iPhone and iPad users enrolled in their respective beta testing programs. The beta builds arrive a day after iOS 17.0.2 and iPadOS 17.0.2 were released to the broader public for all users. Apple is working to bring additional features to iOS … Read More ⌘ Read more
How I used GitHub Copilot Chat to build a ReactJS gallery prototype
GitHub Copilot Chat can help developers create prototypes, understand code, make UI changes, troubleshoot errors, make code more accessible, and generate unit tests.
The post How I used GitHub Copilot Chat to build a ReactJS gallery prototype appeared first on The GitHub Blog. ⌘ Read more
How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com
Recently, we’ve been working to make our CI experience better by leveraging the newly released GitHub feature, Actions larger runners, to run our CI.
The post [How GitHub uses GitHub Actions and Actions larger runners to build and test GitHub.com](https://github.blog/2023-09-26-how-github-uses-github-actions-and-actions-larger-runners-to-build-and-test-github-com/ … ⌘ Read more
test \o/
Testing Every Propellent I Found in My House href=”https://txt.sour.is/search?q=%23shorts”>#shorts** ⌘ Read more
Anyone testing bard.google.com?
Testing 3D Printed Rocket Fuel href=”https://txt.sour.is/search?q=%23shorts”>#shorts** ⌘ Read more
Testing my Dyson Hairdryer Jet Engine #engine #science href=”https://txt.sour.is/search?q=%23experiment”>#experiment** ⌘ Read more
Question to all you Gophers out there: How do you deal with custom errors that include more information and different kinds of matching them?
I started with a simple var ErrPermissionNotAllowed = errors.New("permission not allowed"). In my function I then wrap that using fmt.Errorf("%w: %v", ErrPermissionNotAllowed, failedPermissions). I can match this error using errors.Is(err, ErrPermissionNotAllowed). So far so good.
Now for display purposes I’d also like to access the individual permissions that could not be assigned. Parsing the error message is obviously not an option. So I thought, I create a custom error type, e.g. type PermissionNotAllowedError []Permission and give it some func (e PermissionNotAllowedError) Error() string { return fmt.Sprintf("permission not allowed: %v", e) }. My function would then return this error instead: PermissionNotAllowedError{failedPermissions}
At some layers I don’t care about the exact permissions that failed, but at others I do, at least when accessing them. A custom func (e PermissionNotAllowedError) Is(target err) bool could match both the general ErrPermissionNotAllowed as well as the PermissionNotAllowedError. Same with As(…). For testing purposes the PermissionNotAllowedError would then also try to match the included permissions, so assertions in tests would work nicely. But having two different errors for different matching seems not very elegant at all.
Did you ever encounter this scenario before? How did you address this? Is my thinking flawed?
@shamanix@mastodon.gamedev.place - do you see this? (testing from my end)..
Shorter Feedback Loops Developing Java Apps with Digma’s Free Docker Extension
The Digma Docker extension acts as your own intelligent agent for monitoring code execution, especially in development and testing. ⌘ Read more
@prologic@twtxt.net thank you! I got started on some 3D stuff this morning, we then went to the candy store to get some candy, tonight well have that, and nachos + a movie. and the rest of the day we have been outside :)
here is what I got started on this morning :
just testing some ocean stuff.
JMP: JMP is Launched and Out of Beta
JMP has been in beta for over six years, and today we are finally launching! With feedback and testing from thousands of users, our team has made improvements to billing, phone network compatibility, and also helped develop the Cheogram Android app which provides a smooth onboarding process, good Android integration, and phone-like UX for users of that platform. There is still a long road ahead of us, but with so much behind us we’re comfortable saying JMP is ready for la … ⌘ Read more
Hehe, as you all might have noticed - I test OS’es often. NixOS was too much of a pain to work efficiently in (the way I wanted), so hopped over to Fedora now. Got all my stuff working there now, as well as the desktop client. I really like how portable the code is, and how easy it is to compile on different os’es. Installed fedora with LXQT, I really like that desktop, I do not like gnome at all - I really dislike the way gnome works. LXQT is just what I need.
I tested the yarn desktop client on wsl2 on windows 11, compiled and ran just fine there. Nice to have linux applications with gui on windows.
/post test
Announcing the public preview of GitHub Advanced Security for Azure DevOps
GitHub Advanced Security for Azure DevOps is now available for public preview, making GitHub’s same application security testing tools natively available on Azure Repos. ⌘ Read more
How GitHub Copilot is getting better at understanding your code
With a new Fill-in-the-Middle paradigm, GitHub engineers improved the way GitHub Copilot contextualizes your code. By continuing to develop and test advanced retrieval algorithms, they’re working on making our AI tool even more advanced. ⌘ Read more
Boost Your Local Testing Game With LambdaTest Tunnel Docker Extension
Learn how the LambdaTest Tunnel Docker Extension can streamline your testing workflow. ⌘ Read more
I have not used AI much at all, I have not paid any attention to it. But today I decided to give stablediffusion a test run, I do only have a 1080 card, so it took some tweaking to output 512x256 images, and I must say it works pretty well. I also had to get one of the memory optimized versions. Fun to test.
@funbreaker@twtxt.net no need to feel dumb. This is why testing is nice! That being said - ill make a fix for that too :) this is why I appreciate you taking the time to test, because we have now found many things to improve already 😀
@funbreaker@twtxt.net I tested now against twtxt with a account I created -it segfaulted if you had a / at the end of the server url.. My bad.. works if you remove the slash. I will fix it in the client so that it removes the slash if it’s in the server url.
@funbreaker@twtxt.net I have pushed a fix now to git, I now got rid of the error when I use it on my end. I will create a test account on twtxt later tonight (after dinner and all that) if needed. If you test the latest on your end before that - let me know :) And thanks for your patience.
@lyse@lyse.isobeef.org @prologic@twtxt.net it seems like the ssl verification works now, I enabled it - but also added another option as well that I now saw in the docs, and now it did not fail on my end (which it did before). I will add a ‘enable ssl verification’ checkbox (checked by default) so that those who do not need or want it for testing and such can disable it if they want.
@prologic@twtxt.net yes I will test it :) cloudflare is something I do not have on my end, so I never thought of that, so glad you mention that as a potential issue to solve. Ill check on it.
@funbreaker@twtxt.net okay, so something goes wrong in the response you get. Hm. I see you use twtxt, ill check against there tomorrow and see if I can find the issue (midnight here now). Also ill work on better error output as well when I find the problem.
Thank you for testing!
That reminds me about something, I want to test if I can compile my desktop client on my mangopi riscv board with debian. That would be cool to run on it.
@adi@twtxt.net Nothing really, I tried it in a VM a long time ago, never got to install it on HW, might give it a try again soon (I enjoy to set up my machines with various OS’es and test them etc).
First test post from GTK UI!
Preventing the Unknown: Genetic Testing with Dr. Stuart Kim & Neil deGrasse Tyson ⌘ Read more
Enabling a No-Code Performance Testing Platform Using the Ddosify Docker Extension
Learn about the Ddosify Docker Extension and how use it for performance testing. ⌘ Read more
Also - did a quick test on linux, it gave a lot of errors with the rapidjson library, so I have to find a way to work around that. I think I’ll pull the latest, then compile it - and then point to that - instead of installing the rapidjson-dev package. Maybe that’ll work.
Docker and Ambassador Labs Announce Telepresence for Docker, Improving the Kubernetes Development Experience
We’re happy to announce Telepresence for Docker, simplifying how teams develop and test on Kubernetes for faster app delivery. ⌘ Read more
@shreyan@twtxt.net first time I’ve seen someone mention gnu taler. Been following it since it was announced:) never used for anything other then testing though.
Okay, so it seems like the label\text I use for statuses does not like the strings from posts.
Especially if they contain html tags and such (which the often do), it just breaks the text.
I wonder what I can do with that.. I kinda want to not have html tags in the json reply.
Have to think a bit about how to solve it. Took a while to figure it out, the text was just garbled.
I created some long example strings with regular letters and such, to see if X number of posts would show up, and they did, but when I then replace my test strings with text from json - it goes all wrong again.
Application security orchestration with GitHub Advanced Security
Learn how teams can leverage the power of GitHub Advanced Security’s code scanning and GitHub Actions to integrate the right security testing tools at the right time. ⌘ Read more
My cheap alternative to Ngrok
Since GoBlog has an Auto-HTTPS feature that can automatically retrieve HTTPS certificates via ACME from e.g. Let’s Encrypt, I need a public IP address with which I can reach my test instance of GoBlog via port 80 and 443. ⌘ Read more
So, progress is going smooth!
No I have compiled libcurl with openssl, and I fetch token already.
so next is creating three functions - one for posting, one for the login and fetching token (now I have just testing login when application starts), and the fetch the timeline. Then I need the gui.
Progressed faster in 2 hours in c++ then days with rust…
Test from ftlk in rust.
@bender@twtxt.net are you testing that from another server?
Do I make it discoverable by enabling the ‘open profile’ setting? or do you mean something else?
@prologic@twtxt.net Running out of time for tonight, but I will test it tomorrow! :) I’ll let you know how it goes tomorrow night.
@prologic@twtxt.net Ah, thank you! I will test this after work today. Thank you!
@bender@twtxt.net Yeah, that is correct :) I use it for testing, but I set it up as any desktop system as close as I can, with all the things I usually use.
I’m really excited about riscv - I have another board as well, which is more like a arduino, but I never got that one to do anything useful, but the mangopo - is as you say more usefull since it’s just like a raspberrypi zero, and works very well.
But I am looking forward to that day I can have a proper desktop system (or laptop) with riscv. There was a board released some time ago that let you do that, but the price was a bit too high for me .So now I wait for the next thing to come out.
I bought a 256GB usb a couple of weeks ago, I now want a OS on it with persistent storage.
I only have 1 drive on my newest laptop at the moment, so I do not want to dualboot and such, so a os on the usb stick is a nice option.
Tonight I’m testing NomadBSD - https://nomadbsd.org/index.html
Will flash it in a couple of minutes, hope it boots fine with my hardware.
just found out about wiregui - https://github.com/Devsfy/wiregui
I have to test this one.
Glad I got my test server that I can play around with. Been messing with docker today, and got nextcloud all set up the way I want, so now I can do the same on my VPS. Getting the hang of this now.
@prologic@twtxt.net @movq@www.uninformativ.de this is the default behavior of pass on my machine:
I add a new password entry named example and then type pass example. The password I chose, “test”, is displayed in cleartext. This is very bad default behavior. I don’t know about the other clis you both mentioned but I’ll check them out.
The browser plugin browserpass does the same kind of thing, though I have already removed it and I’m not going to reinstall it to make a movie. Next to each credential there’s an icon to copy the username to the clipboard, an icon to copy the password to the clipboard, and then an icon to view details, which shows you everything, including the password, in cleartext. The screencap in the Chrome store is out of date; it doesn’t show the offending link to show all details, which I know is there because I literally installed it today and played with it.
do anyone know anything about wireguard? I have a VPS, which runs nginx. If I then want tjat to host something from my house, do I then set up vps as wiregiard server, connect from my house to it - and then serve the wireguard client? or do it the other way around? I think I have to look into it this weekend. would be a nice way to test out things.
@prologic@twtxt.net test
@prologic@twtxt.net test
Erlang Solutions: Building a Remote Control Car from Scratch Using Elixir
IntroductionElixir is undoubtedly one of the most comprehensive full stack languages available, offering battle-tested reliability and fault-tolerance on the backend. This is thanks to its origins in Erlang, the BEAM VM and OTP, powerful and agile frontend development thanks to LiveView and the ability to write to hardware with Nerves (not to mention the exciting developments happening in the mac … ⌘ Read more
Testing that mentions are expanding in twtwt: @win0err@kolesnikov.se
Yeah, I figured it wouldn’t have much testing. I’m watching Wisconsin turn a sure 10-0 lead to a 7-3 deficit against Okie State… They seem pretty bad.
I suspect it hasn’t had much testing.
Just setting up a quick Mastodon instance to test some compatibility is a pain. Using test accounts on public instances is also unreliable, because many instances are already overloaded and I don’t want to create spam. So I got a new DigitalOcean account with a $200 starter credit… ⌘ Read more
Tests usually cannot prove absence of defects. But they can show presence of defects I found a bug in SQLite | Hacker News
An interesting read about testing code using nullable states instead of mocks.
https://www.jamesshore.com/v2/projects/testing-without-mocks/testing-without-mocks
An interesting read about testing code using nullable states instead of mocks.
https://www.jamesshore.com/v2/projects/testing-without-mocks/testing-without-mocks
Ignite Realtime Blog: Help us translate Spark and Openfire!
We have started to experiment with an online tool that facilitates the process of translating Spark and Openfire. Both already have a bunch of translations, but none are complete.
I’m looking for people wanting to test the tool and/or provide translations. The aim is to make providing translations become so easy that little technological know-how is required.
If you’re interested, please sign up to [Ignite Realtime localizati … ⌘ Read more
WordPress implemented SQLite support! 😱 (Not merged into Core yet, but you’re able to test it.) ⌘ Read more
WordPress implemented SQLite support! 😱 (Not merged into Core yet, but you’re able to test it.) ⌘ Read more
I should write better tests or at least create some automatic tests. 😬 (But ActivityPub is so complicated to test!) ⌘ Read more
$name$ and then dispatch the hashing or checking to its specific format.
Hold up now, that example hash doesn’t have a
$prefix!
Well for this there is the option for a hash type to set itself as a fall through if a matching hash doesn’t exist. This is good for legacy password types that don’t follow the convention.
func (p *plainPasswd) ApplyPasswd(passwd *passwd.Passwd) {
passwd.Register("plain", p)
passwd.SetFallthrough(p)
}
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L28-L31
$name$ and then dispatch the hashing or checking to its specific format.
Hold up now, that example hash doesn’t have a
$prefix!
Well for this there is the option for a hash type to set itself as a fall through if a matching hash doesn’t exist. This is good for legacy password types that don’t follow the convention.
func (p *plainPasswd) ApplyPasswd(passwd *passwd.Passwd) {
passwd.Register("plain", p)
passwd.SetFallthrough(p)
}
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L28-L31
$name$ and then dispatch the hashing or checking to its specific format.
Here is an example of usage:
func Example() {
pass := "my_pass"
hash := "my_pass"
pwd := passwd.New(
&unix.MD5{}, // first is preferred type.
&plainPasswd{},
)
_, err := pwd.Passwd(pass, hash)
if err != nil {
fmt.Println("fail: ", err)
}
// Check if we want to update.
if !pwd.IsPreferred(hash) {
newHash, err := pwd.Passwd(pass, "")
if err != nil {
fmt.Println("fail: ", err)
}
fmt.Println("new hash:", newHash)
}
// Output:
// new hash: $1$81ed91e1131a3a5a50d8a68e8ef85fa0
}
This shows how one would set a preferred hashing type and if the current version of ones password is not the preferred type updates it to enhance the security of the hashed password when someone logs in.
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L33-L59
$name$ and then dispatch the hashing or checking to its specific format.
Here is an example of usage:
func Example() {
pass := "my_pass"
hash := "my_pass"
pwd := passwd.New(
&unix.MD5{}, // first is preferred type.
&plainPasswd{},
)
_, err := pwd.Passwd(pass, hash)
if err != nil {
fmt.Println("fail: ", err)
}
// Check if we want to update.
if !pwd.IsPreferred(hash) {
newHash, err := pwd.Passwd(pass, "")
if err != nil {
fmt.Println("fail: ", err)
}
fmt.Println("new hash:", newHash)
}
// Output:
// new hash: $1$81ed91e1131a3a5a50d8a68e8ef85fa0
}
This shows how one would set a preferred hashing type and if the current version of ones password is not the preferred type updates it to enhance the security of the hashed password when someone logs in.
https://github.com/sour-is/go-passwd/blob/main/passwd_test.go#L33-L59
Erlang Solutions: Advent of Code 2022 – Every Puzzle Solved in Erlang
Day 1Christmas is getting closer and with that, the annual Advent of Code begins. For those who do not know, Advent of Code is a fun and inclusive event which provides a new programming puzzle every day. The fun is that these puzzles can be solved in any programming language and are accessible for varying levels of coding experience and skills. The real test is in your problem-solving. This year, we’ll be solving each of the problems in … ⌘ Read more
JMP: Writing a Chat Client from Scratch
There are a lot of things that go into building a chat system, such as client, server, and protocol. Even for only making a client there are lots of areas of focus, such as user experience, features, and performance. To keep this post a manageable size, we will just be building a client and will use an existing server and protocol (accessing Jabber network services using the XMPP protocol). We’ll make a practical GUI so we can test things, but not spend too much time on p … ⌘ Read more
November Extensions Roundup: Kubernetes Observability, API Testing, and More
Find out what’s new this month in the Docker Extension Marketplace! ⌘ Read more
The SCREAM Test
One of Lunduke’s Super-Amazing™ Programming Tips ⌘ Read more
I tested ALL the ROCKET PROPELLANTS I could find online ⌘ Read more
I’ll see if I have time tonight, I’ll take a backup of everything, then test a bit. I’ll let you know if I get stuck on anything. thank you for asking :)
Automate API Tests and Debug in Docker With Postman’s Newman Extension
Postman’s Newman Docker Extension helps you run, test, debug, and visualize Postman API calls. Learn how to use this powerful new extension and run collections in Docker Desktop. ⌘ Read more