Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
The cisco-ios CLI NED package doesn't currently support the Unified Threat Defense (UTD) feature so I have been trying to add it myself (locally) to get a better understanding of NSO/YANG.Below is a snippet of the UTD CLI:utd engine standard threat-i...
Hi,I'm trying to create an authgroup using the MAAPI Java API as previously asked here:Create an authgroup using MAAPI Java APIIn that threat, I got help in creating the umap list but I am still having an issue with creating the encrypted remote-pass...
Hi,I'd like to get some help creating an authgroup entry using the MAAPI Java API. So far I have been following the AddAndSyncDevices example found here and modifying it as appropriate:examples.ncs/getting-started/developing-with-ncs/8-maapi/packages...
So I have finally got this working. I stopped being lazy and spent the time to actually read and understand what the MaapiCrypto.decrypt method is doing. Decryption is the reverse of encryption so by understanding the decryption method, we can write ...
I have spent a bit more time on this and I found some references in the NSO documentation that encrypted strings require a prefix to indicate that they are in fact already encrypted. From tailf_yang_extensions:aes-cfb-128-encrypted-stringThe aes-cfb-...
Hi David,Thank you for taking a look at this.According to the JAR's that came with NSO 4.4, the MaapiCrypto class doesn't have an encrypt method; only decrypt.
Thank you, Fredrik. That frustratingly makes sense because according to the YANG model, the umap is keyed on the local-user field so the local-user should be given at the time it is being created. I can confirm that this now works.Any pointers on enc...
Hi Toivo,
Sorry to dig up this old thread but did you end up getting this to work? I'd recommend you try to match a only sub-set of the entire string that you are expecting and avoid any characters that could be considered to be special. In this inst...